aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/righttoleft/textalignment/textalignment.qml1
-rw-r--r--examples/declarative/text/textselection/textselection.qml1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/declarative/righttoleft/textalignment/textalignment.qml b/examples/declarative/righttoleft/textalignment/textalignment.qml
index 13abca1fb1..a7af6f1b55 100644
--- a/examples/declarative/righttoleft/textalignment/textalignment.qml
+++ b/examples/declarative/righttoleft/textalignment/textalignment.qml
@@ -361,6 +361,7 @@ Rectangle {
font.pixelSize: 24
cursorVisible: true
wrapMode: TextEdit.WordWrap
+ textFormat: TextEdit.RichText
horizontalAlignment: root.horizontalAlignment
LayoutMirroring.enabled: root.mirror
Rectangle {
diff --git a/examples/declarative/text/textselection/textselection.qml b/examples/declarative/text/textselection/textselection.qml
index a25d0df621..2e8268d8ee 100644
--- a/examples/declarative/text/textselection/textselection.qml
+++ b/examples/declarative/text/textselection/textselection.qml
@@ -95,6 +95,7 @@ Rectangle {
height: flick.height
focus: true
wrapMode: TextEdit.Wrap
+ textFormat: TextEdit.RichText
onCursorRectangleChanged: flick.ensureVisible(cursorRectangle)