diff options
Diffstat (limited to 'examples/quickcontrols/gallery/pages/TextAreaPage.qml')
-rw-r--r-- | examples/quickcontrols/gallery/pages/TextAreaPage.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quickcontrols/gallery/pages/TextAreaPage.qml b/examples/quickcontrols/gallery/pages/TextAreaPage.qml index 6a09846973..1cc7d7c194 100644 --- a/examples/quickcontrols/gallery/pages/TextAreaPage.qml +++ b/examples/quickcontrols/gallery/pages/TextAreaPage.qml @@ -15,15 +15,15 @@ ScrollablePage { width: parent.width wrapMode: Label.Wrap horizontalAlignment: Qt.AlignHCenter - text: "TextArea is a multi-line text editor." + text: qsTr("TextArea is a multi-line text editor.") } TextArea { - width: pane.availableWidth / 3 + width: page.availableWidth / 3 anchors.horizontalCenter: parent.horizontalCenter wrapMode: TextArea.Wrap - text: "TextArea\n...\n...\n..." + text: qsTr("TextArea\n...\n...\n...") } } } |