summaryrefslogtreecommitdiffstats
path: root/framework/qml/AbstractButton.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsystems.com>2017-10-23 17:40:41 +0200
committerChristian Mollekopf <mollekopf@kolabsystems.com>2017-10-23 17:40:41 +0200
commit62c95ab81110ab568b7bb0449435d7def9eb84c9 (patch)
treef4d4623d076ef790a3d6aa45eeb3369b609bb619 /framework/qml/AbstractButton.qml
parent24be20894e09f92a30ca42a052ad3d5dad8ea29c (diff)
downloadkube-62c95ab81110ab568b7bb0449435d7def9eb84c9.tar.gz
kube-62c95ab81110ab568b7bb0449435d7def9eb84c9.zip
"alert" button mode to draw attention to a button.
Diffstat (limited to 'framework/qml/AbstractButton.qml')
-rw-r--r--framework/qml/AbstractButton.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/qml/AbstractButton.qml b/framework/qml/AbstractButton.qml
index 6738fc63..a5ec4650 100644
--- a/framework/qml/AbstractButton.qml
+++ b/framework/qml/AbstractButton.qml
@@ -30,6 +30,7 @@ T.Button {
30 property alias highlightOpacity: background.highlightOpacity 30 property alias highlightOpacity: background.highlightOpacity
31 property alias horizontalAlignment: label.horizontalAlignment 31 property alias horizontalAlignment: label.horizontalAlignment
32 property alias verticalAlignment: label.verticalAlignment 32 property alias verticalAlignment: label.verticalAlignment
33 property alias alert: background.alert
33 34
34 width: Math.max(Units.gridUnit, contentItem.implicitWidth + leftPadding + rightPadding) 35 width: Math.max(Units.gridUnit, contentItem.implicitWidth + leftPadding + rightPadding)
35 height: contentItem.implicitHeight + topPadding + bottomPadding 36 height: contentItem.implicitHeight + topPadding + bottomPadding