Make sure we never get in-panel scrolling when we shouldn'
This commit is contained in:
@@ -382,7 +382,12 @@ Panel {
|
||||
anchors.fill: parent
|
||||
clip: true
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||
ScrollBar.vertical.policy: ScrollBar.AsNeeded
|
||||
ScrollBar.vertical.policy: panelColumn.implicitHeight > height ? ScrollBar.AsNeeded : ScrollBar.AlwaysOff
|
||||
Binding {
|
||||
target: scrollArea.contentItem
|
||||
property: "interactive"
|
||||
value: panelColumn.implicitHeight > scrollArea.height
|
||||
}
|
||||
|
||||
Column {
|
||||
id: panelColumn
|
||||
|
||||
Reference in New Issue
Block a user