summaryrefslogtreecommitdiffstats
path: root/qt-mobile/theme/Units.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/theme/Units.qml')
-rw-r--r--qt-mobile/theme/Units.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/qt-mobile/theme/Units.qml b/qt-mobile/theme/Units.qml
index 6b477b089..d4b4aa774 100644
--- a/qt-mobile/theme/Units.qml
+++ b/qt-mobile/theme/Units.qml
@@ -1,6 +1,11 @@
import QtQuick 2.3
-QtObject {
- property int gridUnit: 24
+Item {
+ property int gridUnit: unitsM.paintedHeight
property int spacing: gridUnit / 3
+
+ Text {
+ id: unitsM
+ text: "M"
+ }
} \ No newline at end of file