diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-08-19 01:53:26 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-08-19 01:53:26 (GMT) |
commit | 989a6e21ef4b10ad5a482c774a6d8e989a83e1d9 (patch) | |
tree | 5c432177d2c7360fd68d4a281f2848da0f9b2ca9 /demos | |
parent | a01c1325af852111f4dd10ed04672a27f82a2a5f (diff) | |
download | Qt-989a6e21ef4b10ad5a482c774a6d8e989a83e1d9.zip Qt-989a6e21ef4b10ad5a482c774a6d8e989a83e1d9.tar.gz Qt-989a6e21ef4b10ad5a482c774a6d8e989a83e1d9.tar.bz2 |
Text-related API updates after review
Rename LineEdit to TextInput; hAlign to horizontalAlignment; vAlign to
verticalAlignment. Other assorted fixes.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/declarative/contacts/FieldText.qml | 2 | ||||
-rw-r--r-- | demos/declarative/contacts/RemoveButton.qml | 2 | ||||
-rw-r--r-- | demos/declarative/webbrowser/fieldtext/FieldText.qml | 2 | ||||
-rw-r--r-- | demos/declarative/webbrowser/webbrowser.qml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/contacts/FieldText.qml b/demos/declarative/contacts/FieldText.qml index a28fbbc..392d9aa 100644 --- a/demos/declarative/contacts/FieldText.qml +++ b/demos/declarative/contacts/FieldText.qml @@ -69,7 +69,7 @@ Rect { x: 5 width: parent.width-10 anchors.verticalCenter: parent.verticalCenter - hAlign: "AlignHCenter" + horizontalAlignment: "AlignHCenter" color: contactDetails.state == "editing" ? "#505050" : "#AAAAAA" font.italic: true font.bold: true diff --git a/demos/declarative/contacts/RemoveButton.qml b/demos/declarative/contacts/RemoveButton.qml index d42d359..c13b412 100644 --- a/demos/declarative/contacts/RemoveButton.qml +++ b/demos/declarative/contacts/RemoveButton.qml @@ -74,7 +74,7 @@ Rect { anchors.rightMargin: 4 font.bold: true color: "white" - hAlign: "AlignHCenter" + horizontalAlignment: "AlignHCenter" text: "Remove" opacity: 0 } diff --git a/demos/declarative/webbrowser/fieldtext/FieldText.qml b/demos/declarative/webbrowser/fieldtext/FieldText.qml index 3a9abdf..cbacfd8 100644 --- a/demos/declarative/webbrowser/fieldtext/FieldText.qml +++ b/demos/declarative/webbrowser/fieldtext/FieldText.qml @@ -82,7 +82,7 @@ Item { x: 5 width: parent.width-10 anchors.verticalCenter: parent.verticalCenter - hAlign: "AlignHCenter" + horizontalAlignment: "AlignHCenter" color: fieldText.state == "editing" ? "#505050" : "#AAAAAA" font.italic: true font.bold: true diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml index c1de69b..8f1c00e 100644 --- a/demos/declarative/webbrowser/webbrowser.qml +++ b/demos/declarative/webbrowser/webbrowser.qml @@ -96,7 +96,7 @@ Item { anchors.rightMargin: 4 anchors.top: Header.top anchors.topMargin: 4 - hAlign: "AlignHCenter" + horizontalAlignment: "AlignHCenter" } Item { width: parent.width |