summaryrefslogtreecommitdiffstats
path: root/framework/qml/Button.qml
diff options
context:
space:
mode:
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}