aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/dynamicscene/content/Button.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/dynamicscene/content/Button.qml')
-rw-r--r--examples/qml/dynamicscene/content/Button.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/qml/dynamicscene/content/Button.qml b/examples/qml/dynamicscene/content/Button.qml
index 014692274a..ba7db501cc 100644
--- a/examples/qml/dynamicscene/content/Button.qml
+++ b/examples/qml/dynamicscene/content/Button.qml
@@ -54,16 +54,14 @@ Rectangle {
gradient: Gradient {
GradientStop {
position: 0.0
- color: !mouseArea.pressed ? activePalette.light : activePalette.button
+ color: !mouseArea.pressed ? "#eeeeee" : "#888888"
}
GradientStop {
position: 1.0
- color: !mouseArea.pressed ? activePalette.button : activePalette.dark
+ color: !mouseArea.pressed ? "#888888" : "#333333"
}
}
- SystemPalette { id: activePalette }
-
MouseArea {
id: mouseArea
anchors.fill: parent
@@ -75,6 +73,5 @@ Rectangle {
anchors.centerIn:parent
font.pointSize: 10
text: parent.text
- color: activePalette.buttonText
}
}