summaryrefslogtreecommitdiffstats
path: root/examples/touch/content/TextInputPage.qml
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2013-02-25 12:17:54 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-25 17:27:41 +0100
commit4b8fc54d5c7df2b4615f3fb50e1167606eafc712 (patch)
tree882f964cc7da04db732fe281e330288179227b21 /examples/touch/content/TextInputPage.qml
parent1ed438ccb1d545961d128983b213131e4bb75abb (diff)
Example: Fix touch example
implicitWidth and implicitHeight are not available directly in some styles anymore. Change-Id: I4a41ca444305fcefcf8652d176f572f7e1709dcc Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples/touch/content/TextInputPage.qml')
-rw-r--r--examples/touch/content/TextInputPage.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/touch/content/TextInputPage.qml b/examples/touch/content/TextInputPage.qml
index 4cdf544ab..6f746171a 100644
--- a/examples/touch/content/TextInputPage.qml
+++ b/examples/touch/content/TextInputPage.qml
@@ -84,11 +84,11 @@ Page {
id: touchStyle
TextFieldStyle {
- implicitHeight: 50
- implicitWidth: 320
foregroundColor: "white"
font.pixelSize: 28
- background: Item{
+ background: Item {
+ implicitHeight: 50
+ implicitWidth: 320
BorderImage {
source: "../images/textinput.png"
border.left: 8