summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/samegame.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-06-16 10:20:41 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-06-16 10:20:41 (GMT)
commit50f4129a2664ed72de899f4477b47f91488c04d9 (patch)
treea1e02b8553dc741124b449121b6e5c3d01e3ae19 /demos/declarative/samegame/samegame.qml
parentbc4c5a2d9c5d3841948bc4443f2229d8d6ec0e95 (diff)
downloadQt-50f4129a2664ed72de899f4477b47f91488c04d9.zip
Qt-50f4129a2664ed72de899f4477b47f91488c04d9.tar.gz
Qt-50f4129a2664ed72de899f4477b47f91488c04d9.tar.bz2
Minor demo fixes
Found some minor demo issues while testing a TextInput change.
Diffstat (limited to 'demos/declarative/samegame/samegame.qml')
-rw-r--r--demos/declarative/samegame/samegame.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/declarative/samegame/samegame.qml b/demos/declarative/samegame/samegame.qml
index 9a721da..9c4bfa8 100644
--- a/demos/declarative/samegame/samegame.qml
+++ b/demos/declarative/samegame/samegame.qml
@@ -115,6 +115,8 @@ Rectangle {
id: nameInputText
anchors { verticalCenter: parent.verticalCenter; left: dialogText.right }
focus: false
+ autoScroll: false
+ maximumLength: 24
onTextChanged: {
var newWidth = nameInputText.width + dialogText.width + 40;
if ( (newWidth > nameInputDialog.width && newWidth < screen.width)