summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/content/Dialog.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-02-15 08:23:27 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-02-15 08:23:27 (GMT)
commitfa6dc19b9212706532f3f88da0fb3542e9c3eafe (patch)
tree5d0722efe84f86db53701f0db797b2c27a26c2aa /demos/declarative/samegame/content/Dialog.qml
parent749f11d49306b0ee9e3258117b5753d6c4a43d6b (diff)
downloadQt-fa6dc19b9212706532f3f88da0fb3542e9c3eafe.zip
Qt-fa6dc19b9212706532f3f88da0fb3542e9c3eafe.tar.gz
Qt-fa6dc19b9212706532f3f88da0fb3542e9c3eafe.tar.bz2
Enhance samegame high score dialog
'Better' layout mechanics, included animated resize for those people with long names.
Diffstat (limited to 'demos/declarative/samegame/content/Dialog.qml')
-rw-r--r--demos/declarative/samegame/content/Dialog.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/declarative/samegame/content/Dialog.qml b/demos/declarative/samegame/content/Dialog.qml
index f9a281a..5bd1123 100644
--- a/demos/declarative/samegame/content/Dialog.qml
+++ b/demos/declarative/samegame/content/Dialog.qml
@@ -11,6 +11,7 @@ Rectangle {
page.opacity = 1;
}
signal closed();
+ property Item text: myText
color: "white"; border.width: 1; width: myText.width + 20; height: myText.height + 40;
opacity: 0
opacity: Behavior {