summaryrefslogtreecommitdiffstats
path: root/examples/declarative/demos/samegame/qml/samegame/samegame.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/demos/samegame/qml/samegame/samegame.qml')
-rw-r--r--examples/declarative/demos/samegame/qml/samegame/samegame.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/demos/samegame/qml/samegame/samegame.qml b/examples/declarative/demos/samegame/qml/samegame/samegame.qml
index db8016fc..2d67bcb2 100644
--- a/examples/declarative/demos/samegame/qml/samegame/samegame.qml
+++ b/examples/declarative/demos/samegame/qml/samegame/samegame.qml
@@ -88,7 +88,7 @@ Rectangle {
z: 22;
Behavior on width {
- NumberAnimation {}
+ NumberAnimation {}
enabled: nameInputDialog.initialWidth != 0
}
@@ -119,7 +119,7 @@ Rectangle {
maximumLength: 24
onTextChanged: {
var newWidth = nameInputText.width + dialogText.width + 40;
- if ( (newWidth > nameInputDialog.width && newWidth < screen.width)
+ if ( (newWidth > nameInputDialog.width && newWidth < screen.width)
|| (nameInputDialog.width > nameInputDialog.initialWidth) )
nameInputDialog.width = newWidth;
}
@@ -138,7 +138,7 @@ Rectangle {
Button {
id: newGameButton
anchors { left: parent.left; leftMargin: 3; verticalCenter: parent.verticalCenter }
- text: "New Game"
+ text: "New Game"
onClicked: Logic.startNewGame()
}