summaryrefslogtreecommitdiffstats
path: root/demos/declarative/photoviewer/PhotoViewerCore/Button.qml
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-05-18 02:07:32 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-05-18 02:07:32 (GMT)
commit96d5029126707771a3b956e6db0391ae7d619853 (patch)
treed0c02db9c61f3c62c85d6d7ed74c8556d1969dac /demos/declarative/photoviewer/PhotoViewerCore/Button.qml
parentee41cb13e986d28fb32040093d7797f2bcd6ca78 (diff)
parent9e64e612eeddac2fcf023213df2fd3cccadbf342 (diff)
downloadQt-96d5029126707771a3b956e6db0391ae7d619853.zip
Qt-96d5029126707771a3b956e6db0391ae7d619853.tar.gz
Qt-96d5029126707771a3b956e6db0391ae7d619853.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'demos/declarative/photoviewer/PhotoViewerCore/Button.qml')
-rw-r--r--demos/declarative/photoviewer/PhotoViewerCore/Button.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/photoviewer/PhotoViewerCore/Button.qml b/demos/declarative/photoviewer/PhotoViewerCore/Button.qml
index c681064..5be096a 100644
--- a/demos/declarative/photoviewer/PhotoViewerCore/Button.qml
+++ b/demos/declarative/photoviewer/PhotoViewerCore/Button.qml
@@ -4,7 +4,7 @@ Item {
id: container
property alias label: labelText.text
- property color tint: "#FFFFFFFF"
+ property string tint: ""
signal clicked
width: labelText.width + 70 ; height: labelText.height + 18
@@ -19,7 +19,7 @@ Item {
Rectangle {
anchors.fill: container; color: container.tint; visible: container.tint != ""
- opacity: 0.1; smooth: true
+ opacity: 0.25; smooth: true
}
Text { id: labelText; font.pixelSize: 15; anchors.centerIn: parent; smooth: true }