diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-11-06 21:57:01 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-06 14:07:32 -0800 |
commit | b7e33eb8bbb6adae87cfe75cb039c28cbbc8ae0e (patch) | |
tree | 6abb30b0e6c83745df0d128fec09dcb1ec843587 | |
parent | 7b320a7d340bef9d12ab7bce7c5a7215023db140 (diff) | |
download | subsurface-b7e33eb8bbb6adae87cfe75cb039c28cbbc8ae0e.tar.gz |
More info in ThemeTest
This makes problems with the default font more apparent
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-mobile/Label.qml | 3 | ||||
-rw-r--r-- | qt-mobile/ThemeTest.qml | 16 |
2 files changed, 15 insertions, 4 deletions
diff --git a/qt-mobile/Label.qml b/qt-mobile/Label.qml index f340d0b32..617e05245 100644 --- a/qt-mobile/Label.qml +++ b/qt-mobile/Label.qml @@ -8,7 +8,4 @@ Text { font.pointSize: 18 color: theme.textColor - - text: "empty label" - } diff --git a/qt-mobile/ThemeTest.qml b/qt-mobile/ThemeTest.qml index c848f1aa8..7452acc1b 100644 --- a/qt-mobile/ThemeTest.qml +++ b/qt-mobile/ThemeTest.qml @@ -51,7 +51,21 @@ GridLayout { text: fm.height / fm.font.pointSize } - Item { + Text { + text: "Text item pixelSize:" + } + Text { + text: font.pixelSize + } + + Text { + text: "Text item pointSize:" + } + Text { + text: font.pointSize + } + + Label { Layout.columnSpan: 2 Layout.fillHeight: true } |