diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-11-06 21:53:26 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-06 14:05:45 -0800 |
commit | 6d3a5e6bd4e0c449eca65fa832752452cc2b92f5 (patch) | |
tree | 3297dda3515cfba3b65ab52999e61434720b9117 /qt-mobile/ThemeTest.qml | |
parent | 9dc8f13a0ab2f2c0f2804b2dcaf602c2964fdddb (diff) | |
download | subsurface-6d3a5e6bd4e0c449eca65fa832752452cc2b92f5.tar.gz |
Theme tweaks
- gridUnits is dynamic again, using FontMetrics now
- Add a page to display some sizing-relevant details, so we can debug
dpi problems a bit better on Android
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/ThemeTest.qml')
-rw-r--r-- | qt-mobile/ThemeTest.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/qt-mobile/ThemeTest.qml b/qt-mobile/ThemeTest.qml new file mode 100644 index 000000000..55c15ed77 --- /dev/null +++ b/qt-mobile/ThemeTest.qml @@ -0,0 +1,15 @@ +import QtQuick 2.5 +import QtQuick.Layouts 1.1 + +ColumnLayout { + id: themetest + + Text { + text: "units.gridUnit is: " + units.gridUnit + } + + Text { + text: "units.devicePixelRatio: " + units.devicePixelRatio + + } +} |