Remove settings from SettingsList

Flickabke reparents children whichs means scrolling won't work
without some ridiculous client hacks anyway, so there is nothing to be gained
by setting the children here.
This commit is contained in:
Sarah Jamie Lewis 2020-11-23 12:25:25 -08:00
parent 3b9675e259
commit 1548b16a5a
1 changed files with 6 additions and 21 deletions

View File

@ -12,28 +12,13 @@ import "../opaque/styles"
import "../opaque/theme"
ColumnLayout { // settingsList
id: root
anchors.right: parent.right
anchors.left: parent.left
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.topMargin: 20
property alias settings: flick.children
Flickable {
anchors.fill: parent
id: flick
boundsBehavior: Flickable.StopAtBounds
clip:true
contentWidth: root.width
contentHeight: root.height
// Settings go here in a col
}
Flickable {
id: flick
boundsBehavior: Flickable.StopAtBounds
contentWidth: parent.width
clip:true
flickableDirection: Flickable.VerticalFlick
}