summaryrefslogtreecommitdiffstats
path: root/qt-mobile/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r--qt-mobile/main.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml
index e9cfb5b74..f45ab9b60 100644
--- a/qt-mobile/main.qml
+++ b/qt-mobile/main.qml
@@ -17,7 +17,6 @@ ApplicationWindow {
Theme.Units {
id: units
- property int spacing: Math.ceil(gridUnit / 3)
}
Theme.Theme {
@@ -94,16 +93,16 @@ ApplicationWindow {
Rectangle {
id: topPart
color: theme.accentColor
- Layout.minimumHeight: units.gridUnit * 2 + units.spacing * 2
+ Layout.minimumHeight: units.gridUnit * 2 + units.smallSpacing * 2
Layout.fillWidth: true
Layout.margins: 0
RowLayout {
anchors.bottom: topPart.bottom
- anchors.bottomMargin: units.spacing
+ anchors.bottomMargin: units.smallSpacing
anchors.left: topPart.left
- anchors.leftMargin: units.spacing
+ anchors.leftMargin: units.smallSpacing
anchors.right: topPart.right
- anchors.rightMargin: units.spacing
+ anchors.rightMargin: units.smallSpacing
Image {
source: "qrc:/qml/subsurface-mobile-icon.png"
Layout.maximumWidth: units.gridUnit * 2