summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/Button.qml
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2014-04-28 09:27:03 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-30 13:40:26 +0200
commit2939c9953ad08e659722c2b832f2c35db6de0115 (patch)
treec1c5b3023f477894fd66da50b0635c49a6ed0f59 /examples/multimedia/video/qmlvideofx/qml/qmlvideofx/Button.qml
parent4c8284de46052970de001c5c9b96c4fa365f89b4 (diff)
Add missing background for effect selection list.
Also remove highlight and fix button text color. Make Menu animation faster. Task-number: QTBUG-38121 Change-Id: I7d5868d370a8dc7925cee5e694ae043970c569d9 Reviewed-by: Sami Makkonen <sami.makkonen@digia.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'examples/multimedia/video/qmlvideofx/qml/qmlvideofx/Button.qml')
-rw-r--r--examples/multimedia/video/qmlvideofx/qml/qmlvideofx/Button.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/Button.qml b/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/Button.qml
index dd7cca602..203352832 100644
--- a/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/Button.qml
+++ b/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/Button.qml
@@ -60,7 +60,6 @@ Rectangle {
Rectangle {
anchors { fill: parent; margins: 1 }
color: mouseArea.pressed ? bgColorSelected : bgColor
- radius: 0.1 * height
Text {
id: text
@@ -68,7 +67,7 @@ Rectangle {
text: root.text
anchors { fill: parent; margins: scaledMargin }
font.pixelSize: fontSize
- color: mouseArea.pressed ? bgColor : textColor
+ color: textColor
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}