summaryrefslogtreecommitdiffstats
path: root/examples/declarative/ui-components/searchbox/SearchBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/ui-components/searchbox/SearchBox.qml')
-rw-r--r--examples/declarative/ui-components/searchbox/SearchBox.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/ui-components/searchbox/SearchBox.qml b/examples/declarative/ui-components/searchbox/SearchBox.qml
index e6b9c8f..6d87837 100644
--- a/examples/declarative/ui-components/searchbox/SearchBox.qml
+++ b/examples/declarative/ui-components/searchbox/SearchBox.qml
@@ -73,7 +73,7 @@ FocusScope {
TextInput {
id: textInput
- anchors { left: parent.left; leftMargin: 8; verticalCenter: parent.verticalCenter }
+ anchors { left: parent.left; leftMargin: 8; right: clear.left; rightMargin: 8; verticalCenter: parent.verticalCenter }
focus: true
}