[PATCH 07/11] new Label item

Sebastian Kügler sebas at kde.org
Fri Nov 6 13:53:45 PST 2015


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 at kde.org>
---
 qt-mobile/Label.qml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 qt-mobile/Label.qml

diff --git a/qt-mobile/Label.qml b/qt-mobile/Label.qml
new file mode 100644
index 0000000..f340d0b
--- /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"
+
+}
-- 
2.6.2



More information about the subsurface mailing list