diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-10-09 05:05:23 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-09 12:51:59 -0700 |
commit | 38e1dc158922bcf818683f0cf58293b410421c80 (patch) | |
tree | a1c21c3148661af9e4f676a59488d8a2f77a058f /qt-mobile/main.qml | |
parent | ac6b267d404f3d3675312b868a74f00c18bab3b2 (diff) | |
download | subsurface-38e1dc158922bcf818683f0cf58293b410421c80.tar.gz |
QML-UI: Layout improvements in app list and details header
- fix spacing and sizing in TopBar
- use an anchor layout for the delegate and split out labels and values: this
allows more uniform alignment
- add the subsurface mobile icon to the first page
- various visual touch-ups to taste
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r-- | qt-mobile/main.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml index 97f1da6bb..5c8c04b2c 100644 --- a/qt-mobile/main.qml +++ b/qt-mobile/main.qml @@ -100,11 +100,21 @@ ApplicationWindow { anchors.leftMargin: units.spacing anchors.right: topPart.right anchors.rightMargin: units.spacing + Image { + source: "qrc:/qml/subsurface-mobile-icon.png" + Layout.maximumWidth: units.gridUnit * 2 + Layout.preferredWidth: units.gridUnit * 2 + Layout.preferredHeight: units.gridUnit * 2 + } Text { text: qsTr("Subsurface mobile") font.pointSize: 18 + Layout.fillWidth: false color: theme.accentTextColor } + Item { + Layout.fillWidth: true + } Button { id: prefsButton text: "\u22ee" |