summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2015-11-06 21:53:45 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-06 14:05:52 -0800
commitffe44f9aaf6eb4a72f68fe1096291d5e978a204d (patch)
tree94416ca1bc56f7d5ed61f39954000d51dd1b5ca5 /qt-mobile
parent6d3a5e6bd4e0c449eca65fa832752452cc2b92f5 (diff)
downloadsubsurface-ffe44f9aaf6eb4a72f68fe1096291d5e978a204d.tar.gz
new Label item
Add a Label that we can use for styled text until we figured out how to set the default font size. Signed-off-by: Sebastian Kügler <sebas@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/Label.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/qt-mobile/Label.qml b/qt-mobile/Label.qml
new file mode 100644
index 000000000..f340d0b32
--- /dev/null
+++ b/qt-mobile/Label.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.5
+//import QtQuick.Controls 1.2 as QuickControls
+import QtQuick.Window 2.2
+import QtQuick.Dialogs 1.2
+import QtQuick.Layouts 1.1
+
+Text {
+
+ font.pointSize: 18
+ color: theme.textColor
+
+ text: "empty label"
+
+}