Fix settings page scrolling. Fixes #106
This commit is contained in:
parent
037886ba5b
commit
a95d2e76f5
1 changed files with 16 additions and 1 deletions
|
|
@ -5,9 +5,24 @@ import StreamingPreferences 1.0
|
||||||
import ComputerManager 1.0
|
import ComputerManager 1.0
|
||||||
import SdlGamepadKeyNavigation 1.0
|
import SdlGamepadKeyNavigation 1.0
|
||||||
|
|
||||||
ScrollView {
|
Flickable {
|
||||||
id: settingsPage
|
id: settingsPage
|
||||||
objectName: "Settings"
|
objectName: "Settings"
|
||||||
|
anchors.fill: parent
|
||||||
|
|
||||||
|
contentWidth: settingsColumn1.width > settingsColumn2.width ? settingsColumn1.width : settingsColumn2.width
|
||||||
|
contentHeight: settingsColumn1.height > settingsColumn2.height ? settingsColumn1.height : settingsColumn2.height
|
||||||
|
|
||||||
|
ScrollBar.vertical: ScrollBar {
|
||||||
|
parent: settingsPage.parent
|
||||||
|
anchors {
|
||||||
|
top: settingsPage.top
|
||||||
|
left: settingsPage.right
|
||||||
|
bottom: settingsPage.bottom
|
||||||
|
|
||||||
|
leftMargin: -10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
StreamingPreferences {
|
StreamingPreferences {
|
||||||
id: prefs
|
id: prefs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue