From ac6b267d404f3d3675312b868a74f00c18bab3b2 Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Fri, 9 Oct 2015 05:04:44 +0200 Subject: QML-UI: gridUnit is now dpi-corrected MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Kügler Signed-off-by: Dirk Hohndel --- qt-mobile/theme/Theme.qml | 2 +- qt-mobile/theme/Units.qml | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/qt-mobile/theme/Theme.qml b/qt-mobile/theme/Theme.qml index 021b2f2aa..c4cfbf077 100644 --- a/qt-mobile/theme/Theme.qml +++ b/qt-mobile/theme/Theme.qml @@ -1,7 +1,7 @@ import QtQuick 2.3 QtObject { - property color accentColor: "#114d6f" + property color accentColor: "#2d5b9a" property color accentTextColor: "#ececec" property color textColor: "#333333" property color backgroundColor: "#ececec" 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 -- cgit v1.2.3-70-g09d2