diff options
Diffstat (limited to 'examples/declarative/ui-components/main')
-rw-r--r-- | examples/declarative/ui-components/main/main.pro | 4 | ||||
-rw-r--r-- | examples/declarative/ui-components/main/qml/main/SearchBox.qml | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/declarative/ui-components/main/main.pro b/examples/declarative/ui-components/main/main.pro index d44b7adc..25a2d7c2 100644 --- a/examples/declarative/ui-components/main/main.pro +++ b/examples/declarative/ui-components/main/main.pro @@ -14,8 +14,8 @@ DEFINES += ORIENTATIONLOCK # DEFINES += QMLJSDEBUGGER # If your application uses the Qt Mobility libraries, uncomment -# the following lines and add the respective components to the -# MOBILITY variable. +# the following lines and add the respective components to the +# MOBILITY variable. # CONFIG += mobility # MOBILITY += diff --git a/examples/declarative/ui-components/main/qml/main/SearchBox.qml b/examples/declarative/ui-components/main/qml/main/SearchBox.qml index 3085d8ed..fddd0bad 100644 --- a/examples/declarative/ui-components/main/qml/main/SearchBox.qml +++ b/examples/declarative/ui-components/main/qml/main/SearchBox.qml @@ -66,9 +66,9 @@ FocusScope { font.italic: true } - MouseArea { + MouseArea { anchors.fill: parent - onClicked: { focusScope.focus = true; textInput.openSoftwareInputPanel(); } + onClicked: { focusScope.focus = true; textInput.openSoftwareInputPanel(); } } TextInput { @@ -84,7 +84,7 @@ FocusScope { source: "images/clear.png" opacity: 0 - MouseArea { + MouseArea { anchors.fill: parent onClicked: { textInput.text = ''; focusScope.focus = true; textInput.openSoftwareInputPanel(); } } |