Merge pull request #2622

94561ed fix clunky scrolling behavior on flickables (tobtoht)
This commit is contained in:
luigi1111
2019-12-19 19:35:22 -05:00
4 changed files with 4 additions and 0 deletions

View File

@@ -350,6 +350,7 @@ Rectangle {
anchors.top: parent.top
anchors.bottom: networkStatus.top
width: parent.width
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
clip: true
Column {

View File

@@ -186,6 +186,7 @@ Rectangle {
Layout.fillWidth: true
Layout.fillHeight: true
clip: true
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
ScrollBar.vertical: ScrollBar {
parent: root

View File

@@ -125,6 +125,7 @@ Rectangle {
id: flickable
anchors.fill: parent
ScrollBar.vertical: ScrollBar { }
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
TextArea.flickable: TextArea {
id: dialogContent

View File

@@ -267,6 +267,7 @@ Rectangle {
id: wizardFlickable
anchors.fill: parent
clip: true
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
ScrollBar.vertical: ScrollBar {
parent: wizardController