diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-08-03 15:47:37 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-08-03 16:00:09 -0700 |
commit | 0476f6dc18058fb20ae742c12d8df0f93318d780 (patch) | |
tree | af6c2201a5887b31222d20312371b1c47427d1aa /mobile-widgets | |
parent | c004e31dc27c246e7e0faf33aa3ebc486bb6b038 (diff) | |
download | subsurface-0476f6dc18058fb20ae742c12d8df0f93318d780.tar.gz |
QML UI: Settings: remove more margins
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/CloudCredentials.qml | 2 | ||||
-rw-r--r-- | mobile-widgets/qml/Settings.qml | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index c9a931981..121dcfe2e 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -23,7 +23,7 @@ Item { ColumnLayout { id: outerLayout - width: loginWindow.width + width: loginWindow.width - Kirigami.Units.gridUnit // to ensure the full input fields are visible function goToNext() { for (var i = 0; i < children.length; ++i) diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index 314d99579..42c9c98ad 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -11,16 +11,16 @@ Kirigami.ScrollablePage { objectName: "Settings" id: settingsPage title: qsTr("Settings") - anchors.margins: Kirigami.Units.gridUnit / 2 - property real gridWidth: settingsPage.width - 2 * Kirigami.Units.gridUnit + + property real gridWidth: settingsPage.width - Kirigami.Units.gridUnit ColumnLayout { - width: parent.width - Kirigami.Units.gridUnit + width: gridWidth CloudCredentials { id: cloudCredentials Layout.fillWidth: true Layout.rightMargin: Kirigami.Units.smallSpacing - Layout.topMargin: 0 + Layout.topMargin: - Kirigami.Units.gridUnit property int headingLevel: 4 } Rectangle { |