summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-01-20 09:10:54 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-01-20 09:13:10 +0100
commit2a8dae302392ec789ece5abb9097bd7eb54c26eb (patch)
treeb3cc02e3fc59e7580d9bc8bc84302187e279454c /examples
parenta5bf54ed494b755e1da67b2dc6badb4743723fc6 (diff)
Quick example: turn on word wrap
Pick-to: 6.5 Change-Id: I54794f66448f9e64941950cbc5fb5c7e9fd332fd Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/speech/quickspeech/main.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/speech/quickspeech/main.qml b/examples/speech/quickspeech/main.qml
index 9668f96..651f8c2 100644
--- a/examples/speech/quickspeech/main.qml
+++ b/examples/speech/quickspeech/main.qml
@@ -44,6 +44,7 @@ ApplicationWindow {
TextArea {
id: input
+ wrapMode: TextEdit.WordWrap
text: qsTr("Hello, world!")
Layout.fillWidth: true
Layout.minimumHeight: implicitHeight