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.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/qml/Button.qml b/framework/qml/Button.qml
index 7473c140..83f02cff 100644
--- a/framework/qml/Button.qml
+++ b/framework/qml/Button.qml
@@ -32,6 +32,7 @@ T.Button {
32 32
33 clip: true 33 clip: true
34 hoverEnabled: true 34 hoverEnabled: true
35 Keys.onReturnPressed: root.clicked()
35 36
36 background: Rectangle { 37 background: Rectangle {
37 color: Colors.buttonColor 38 color: Colors.buttonColor
@@ -49,6 +50,7 @@ T.Button {
49 50
50 contentItem: Label { 51 contentItem: Label {
51 text: root.text 52 text: root.text
53 font.underline: root.activeFocus
52 elide: Text.ElideRight 54 elide: Text.ElideRight
53 horizontalAlignment: Text.AlignHCenter 55 horizontalAlignment: Text.AlignHCenter
54 verticalAlignment: Text.AlignVCenter 56 verticalAlignment: Text.AlignVCenter