try to fix #LINQT-1605 cannot scroll in advanced settings
This commit is contained in:
parent
62806c94c7
commit
ca51d44505
1 changed files with 3 additions and 2 deletions
|
|
@ -105,8 +105,8 @@ Rectangle {
|
||||||
leftPadding: 45 * DefaultStyle.dp
|
leftPadding: 45 * DefaultStyle.dp
|
||||||
rightPadding: 45 * DefaultStyle.dp
|
rightPadding: 45 * DefaultStyle.dp
|
||||||
Control.ScrollBar.vertical: ScrollBar {
|
Control.ScrollBar.vertical: ScrollBar {
|
||||||
active: scrollView.contentHeight > scrollView.height
|
active: scrollViewContent.implicitHeight > scrollView.height
|
||||||
visible: scrollView.contentHeight > scrollView.height
|
visible: scrollViewContent.implicitHeight > scrollView.height
|
||||||
interactive: true
|
interactive: true
|
||||||
policy: Control.ScrollBar.AsNeeded
|
policy: Control.ScrollBar.AsNeeded
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
|
|
@ -118,6 +118,7 @@ Rectangle {
|
||||||
active: false
|
active: false
|
||||||
}
|
}
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
id: scrollViewContent
|
||||||
width: parent.width
|
width: parent.width
|
||||||
spacing: 10 * DefaultStyle.dp
|
spacing: 10 * DefaultStyle.dp
|
||||||
Repeater {
|
Repeater {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue