From 1548b16a5acc2a934187accef39908c10351f001 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 23 Nov 2020 12:25:25 -0800 Subject: [PATCH] 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. --- SettingsList.qml | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/SettingsList.qml b/SettingsList.qml index f40e999..1b8f98d 100644 --- a/SettingsList.qml +++ b/SettingsList.qml @@ -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 }