aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/ThemeTest.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/mobile-widgets/qml/ThemeTest.qml b/mobile-widgets/qml/ThemeTest.qml
index 3005032e0..c4fc0bce9 100644
--- a/mobile-widgets/qml/ThemeTest.qml
+++ b/mobile-widgets/qml/ThemeTest.qml
@@ -110,6 +110,15 @@ Kirigami.Page {
}
Kirigami.Label {
+ text: "2cm x 2cm square:"
+ }
+ Rectangle {
+ width: Math.round(Screen.pixelDensity * 20)
+ height: Math.round(Screen.pixelDensity * 20)
+ color: "black"
+ }
+
+ Kirigami.Label {
Layout.columnSpan: 2
Layout.fillHeight: true
}