summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framework/qml/PositiveButton.qml10
1 files changed, 9 insertions, 1 deletions
diff --git a/framework/qml/PositiveButton.qml b/framework/qml/PositiveButton.qml
index f158ad10..2f71131b 100644
--- a/framework/qml/PositiveButton.qml
+++ b/framework/qml/PositiveButton.qml
@@ -16,11 +16,19 @@
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */ 17 */
18 18
19import QtQuick 2.0
19import org.kube.framework 1.0 20import org.kube.framework 1.0
20 21
21AbstractButton { 22AbstractButton {
22 color: Colors.positiveColor 23 color: enabled ? Colors.positiveColor : Colors.backgroundColor
23 textColor: Colors.highlightedTextColor 24 textColor: Colors.highlightedTextColor
24 highlightColor: Colors.viewBackgroundColor 25 highlightColor: Colors.viewBackgroundColor
25 highlightOpacity: 0.2 26 highlightOpacity: 0.2
27
28 Rectangle {
29 anchors.fill: parent
30 color: "transparent"
31 border.width: 1
32 border.color: Kube.Colors.buttonColor
33 }
26} 34}