diff options
Diffstat (limited to 'framework/qml/Button.qml')
-rw-r--r-- | framework/qml/Button.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/qml/Button.qml b/framework/qml/Button.qml index 948312b0..4df1492a 100644 --- a/framework/qml/Button.qml +++ b/framework/qml/Button.qml | |||
@@ -17,14 +17,13 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | import QtQuick 2.7 | 19 | import QtQuick 2.7 |
20 | import org.kube.components.theme 1.0 as KubeTheme | ||
21 | 20 | ||
22 | Rectangle { | 21 | Rectangle { |
23 | id: root | 22 | id: root |
24 | 23 | ||
25 | signal clicked() | 24 | signal clicked() |
26 | property alias text: text.text | 25 | property alias text: text.text |
27 | property color textColor: KubeTheme.Colors.highlightedTextColor | 26 | property color textColor: Kube.Colors.highlightedTextColor |
28 | property string iconName: "" | 27 | property string iconName: "" |
29 | property alias implicitHeight: content.implicitHeight | 28 | property alias implicitHeight: content.implicitHeight |
30 | property alias implicitWidth: content.implicitWidth | 29 | property alias implicitWidth: content.implicitWidth |
@@ -36,7 +35,7 @@ Rectangle { | |||
36 | Row { | 35 | Row { |
37 | id: content | 36 | id: content |
38 | anchors.centerIn: parent | 37 | anchors.centerIn: parent |
39 | spacing: KubeTheme.Units.smallSpacing | 38 | spacing: Kube.Units.smallSpacing |
40 | Text { | 39 | Text { |
41 | id: text | 40 | id: text |
42 | anchors.verticalCenter: parent.verticalCenter | 41 | anchors.verticalCenter: parent.verticalCenter |