summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-15 19:08:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-19 11:52:13 -0800
commit12631ef2bbd07f95536f22195bab003ced864afa (patch)
tree673efe2f66ba166c4e1611732082b5346ab29791 /mobile-widgets
parent8ee39aa6b6bcccc0d0b5f461518f20884cb35599 (diff)
downloadsubsurface-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.qml10
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