summaryrefslogtreecommitdiffstats
path: root/examples/declarative/ui-components/searchbox/SearchBox.qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-06-21 05:37:41 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-06-22 01:22:35 (GMT)
commitc8968fd143e079d4d2b79c88132caaffbefedd7d (patch)
treeb16577cba1077738e8095c0ddb8faca20a17b1fb /examples/declarative/ui-components/searchbox/SearchBox.qml
parentd9e49c4399e506c878ce5125d4edcf384b867b26 (diff)
downloadQt-c8968fd143e079d4d2b79c88132caaffbefedd7d.zip
Qt-c8968fd143e079d4d2b79c88132caaffbefedd7d.tar.gz
Qt-c8968fd143e079d4d2b79c88132caaffbefedd7d.tar.bz2
Clean up some examples
Diffstat (limited to 'examples/declarative/ui-components/searchbox/SearchBox.qml')
-rw-r--r--examples/declarative/ui-components/searchbox/SearchBox.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/declarative/ui-components/searchbox/SearchBox.qml b/examples/declarative/ui-components/searchbox/SearchBox.qml
index eaa6b6b..e6b9c8f 100644
--- a/examples/declarative/ui-components/searchbox/SearchBox.qml
+++ b/examples/declarative/ui-components/searchbox/SearchBox.qml
@@ -66,7 +66,10 @@ FocusScope {
font.italic: true
}
- MouseArea { anchors.fill: parent; onClicked: { focusScope.focus = true; textInput.openSoftwareInputPanel(); } }
+ MouseArea {
+ anchors.fill: parent
+ onClicked: { focusScope.focus = true; textInput.openSoftwareInputPanel(); }
+ }
TextInput {
id: textInput
@@ -77,7 +80,7 @@ FocusScope {
Image {
id: clear
anchors { right: parent.right; rightMargin: 8; verticalCenter: parent.verticalCenter }
- source: "images/edit-clear-locationbar-rtl.png"
+ source: "images/clear.png"
opacity: 0
MouseArea {