diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quickcontrols2/gallery/pages/TextAreaPage.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols2/gallery/pages/TextAreaPage.qml b/examples/quickcontrols2/gallery/pages/TextAreaPage.qml index 91ecb16e41..c3a2bf94ac 100644 --- a/examples/quickcontrols2/gallery/pages/TextAreaPage.qml +++ b/examples/quickcontrols2/gallery/pages/TextAreaPage.qml @@ -66,7 +66,7 @@ ScrollablePage { } TextArea { - width: Math.max(implicitWidth, Math.min(implicitWidth * 3, pane.availableWidth / 3)) + width: pane.availableWidth / 3 anchors.horizontalCenter: parent.horizontalCenter wrapMode: TextArea.Wrap |