summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/Label.qml3
-rw-r--r--qt-mobile/ThemeTest.qml16
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
}