diff options
| author | Caroline Chao <caroline.chao@digia.com> | 2013-02-25 12:17:54 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-25 17:27:41 +0100 |
| commit | 4b8fc54d5c7df2b4615f3fb50e1167606eafc712 (patch) | |
| tree | 882f964cc7da04db732fe281e330288179227b21 /examples/touch/content/TextInputPage.qml | |
| parent | 1ed438ccb1d545961d128983b213131e4bb75abb (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.qml | 6 |
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 |
