summaryrefslogtreecommitdiffstats
path: root/framework/qml/PositiveButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/PositiveButton.qml')
-rw-r--r--framework/qml/PositiveButton.qml11
1 files changed, 5 insertions, 6 deletions
diff --git a/framework/qml/PositiveButton.qml b/framework/qml/PositiveButton.qml
index 83063668..37ddae51 100644
--- a/framework/qml/PositiveButton.qml
+++ b/framework/qml/PositiveButton.qml
@@ -17,14 +17,13 @@
17 */ 17 */
18 18
19import QtQuick 2.7 19import QtQuick 2.7
20import QtQuick.Controls 2.1 as Controls 20import QtQuick.Controls 2.0 as Controls
21import org.kube.components.theme 1.0 as KubeTheme
22 21
23Controls.AbstractButton { 22Controls.AbstractButton {
24 id: root 23 id: root
25 24
26 width: mainText.implicitWidth + KubeTheme.Units.largeSpacing * 2 25 width: mainText.implicitWidth + Kube.Units.largeSpacing * 2
27 height: mainText.implicitHeight + KubeTheme.Units.smallSpacing * 2 26 height: mainText.implicitHeight + Kube.Units.smallSpacing * 2
28 27
29 clip: true 28 clip: true
30 29
@@ -33,7 +32,7 @@ Controls.AbstractButton {
33 32
34 anchors.fill: parent 33 anchors.fill: parent
35 34
36 color: KubeTheme.Colors.positveColor 35 color: Kube.Colors.positveColor
37 } 36 }
38 37
39 Text { 38 Text {
@@ -41,7 +40,7 @@ Controls.AbstractButton {
41 40
42 anchors.centerIn: parent 41 anchors.centerIn: parent
43 42
44 color: KubeTheme.Colors.highlightedTextColor 43 color: Kube.Colors.highlightedTextColor
45 text: root.text 44 text: root.text
46 } 45 }
47} 46}