summaryrefslogtreecommitdiffstats
path: root/framework/qml/Button.qml
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-04-19 10:44:33 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-04-19 10:44:33 +0200
commit962f09c6f6ceedd96eced193360c1b106f555fac (patch)
treeac4103c97e110e16f1b476c7754e4bde5ab241e7 /framework/qml/Button.qml
parent0190a9e9110951012cfeef9bc52dc78b1014b314 (diff)
downloadkube-962f09c6f6ceedd96eced193360c1b106f555fac.tar.gz
kube-962f09c6f6ceedd96eced193360c1b106f555fac.zip
introduce Kube.Label and use it in kube controls
Diffstat (limited to 'framework/qml/Button.qml')
-rw-r--r--framework/qml/Button.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/qml/Button.qml b/framework/qml/Button.qml
index 181cf58b..6a3654cc 100644
--- a/framework/qml/Button.qml
+++ b/framework/qml/Button.qml
@@ -44,12 +44,10 @@ T.Button {
44 } 44 }
45 } 45 }
46 46
47 contentItem: Text { 47 contentItem: Label {
48 text: root.text 48 text: root.text
49 //TODO font
50 elide: Text.ElideRight 49 elide: Text.ElideRight
51 horizontalAlignment: Text.AlignHCenter 50 horizontalAlignment: Text.AlignHCenter
52 verticalAlignment: Text.AlignVCenter 51 verticalAlignment: Text.AlignVCenter
53 color: Colors.textColor
54 } 52 }
55} 53}