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:
parent
3b9675e259
commit
1548b16a5a
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue