try to fix #LINQT-1605 cannot scroll in advanced settings

This commit is contained in:
Gaelle Braud 2025-01-28 14:44:06 +01:00
parent 62806c94c7
commit ca51d44505

View file

@ -105,8 +105,8 @@ Rectangle {
leftPadding: 45 * DefaultStyle.dp
rightPadding: 45 * DefaultStyle.dp
Control.ScrollBar.vertical: ScrollBar {
active: scrollView.contentHeight > scrollView.height
visible: scrollView.contentHeight > scrollView.height
active: scrollViewContent.implicitHeight > scrollView.height
visible: scrollViewContent.implicitHeight > scrollView.height
interactive: true
policy: Control.ScrollBar.AsNeeded
anchors.top: parent.top
@ -118,6 +118,7 @@ Rectangle {
active: false
}
ColumnLayout {
id: scrollViewContent
width: parent.width
spacing: 10 * DefaultStyle.dp
Repeater {