[PATCH 10/11] More info in ThemeTest
Sebastian Kügler
sebas at kde.org
Fri Nov 6 13:57:01 PST 2015
This makes problems with the default font more apparent
Signed-off-by: Sebastian Kügler <sebas at kde.org>
---
qt-mobile/Label.qml | 3 ---
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 f340d0b..617e052 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 c848f1a..7452acc 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
}
--
2.6.2
More information about the subsurface
mailing list