diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-04-13 06:04:40 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-04-13 06:07:19 (GMT) |
commit | 38ddecfd87399ed92729f122d940cce812c44ec2 (patch) | |
tree | d52395429119e8e38b8624682f0da1018fe4e527 /examples/declarative/searchbox/SearchBox.qml | |
parent | a34993a9d8d1b9b3f3ad30604dbad3ad456bbdcd (diff) | |
download | Qt-38ddecfd87399ed92729f122d940cce812c44ec2.zip Qt-38ddecfd87399ed92729f122d940cce812c44ec2.tar.gz Qt-38ddecfd87399ed92729f122d940cce812c44ec2.tar.bz2 |
Example fixes
Diffstat (limited to 'examples/declarative/searchbox/SearchBox.qml')
-rw-r--r-- | examples/declarative/searchbox/SearchBox.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/declarative/searchbox/SearchBox.qml b/examples/declarative/searchbox/SearchBox.qml index adeddd1..aae7ee9 100644 --- a/examples/declarative/searchbox/SearchBox.qml +++ b/examples/declarative/searchbox/SearchBox.qml @@ -21,7 +21,9 @@ FocusScope { id: typeSomething anchors.fill: parent; anchors.leftMargin: 8 verticalAlignment: Text.AlignVCenter - text: "Type something..."; color: "gray"; font.italic: true + text: "Type something..." + color: "gray" + font.italic: true } MouseArea { anchors.fill: parent; onClicked: focusScope.focus = true } @@ -29,7 +31,7 @@ FocusScope { TextInput { id: textInput anchors { left: parent.left; leftMargin: 8; verticalCenter: parent.verticalCenter } - focus: if (1) true + focus: true } Image { |