diff options
author | jan Iversen <jan@casacondor.com> | 2020-01-15 19:08:40 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-19 11:52:13 -0800 |
commit | 12631ef2bbd07f95536f22195bab003ced864afa (patch) | |
tree | 673efe2f66ba166c4e1611732082b5346ab29791 /mobile-widgets | |
parent | 8ee39aa6b6bcccc0d0b5f461518f20884cb35599 (diff) | |
download | subsurface-12631ef2bbd07f95536f22195bab003ced864afa.tar.gz |
mobile-widgets/qml: add General section to Settings
ColumnLayout does not work well with TemplateSection,
so change to Column
Add TemplateSection "General Settings"
"General Settings" are open when visiting page first time.
Signed-off-by: jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/Settings.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index bc368388c..a976a1711 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -20,8 +20,16 @@ Kirigami.ScrollablePage { qsTr("Credentials verified"), qsTr("No cloud mode")] - ColumnLayout { + Column { width: gridWidth + + TemplateSection { + id: sectionGeneral + title: qsTr("General settings") + isExpanded: true + + } + GridLayout { id: cloudSetting columns: 3 |