mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-05 01:09:14 +00:00
Don't allow Flickables to be dragged beyond bounds
This commit is contained in:
parent
652ad86cad
commit
61fc0e4893
2 changed files with 4 additions and 0 deletions
|
@ -38,4 +38,6 @@ GridView {
|
|||
|
||||
updateMargins()
|
||||
}
|
||||
|
||||
boundsBehavior: Flickable.OvershootBounds
|
||||
}
|
||||
|
|
|
@ -10,6 +10,8 @@ Flickable {
|
|||
id: settingsPage
|
||||
objectName: "Settings"
|
||||
|
||||
boundsBehavior: Flickable.OvershootBounds
|
||||
|
||||
contentWidth: settingsColumn1.width > settingsColumn2.width ? settingsColumn1.width : settingsColumn2.width
|
||||
contentHeight: settingsColumn1.height > settingsColumn2.height ? settingsColumn1.height : settingsColumn2.height
|
||||
|
||||
|
|
Loading…
Reference in a new issue