Details
-
Sub-task
-
Resolution: Done
-
P3: Somewhat important
-
64c0ee4e5f1f05105ab6168ebb4cb188e8fd838f
Description
Text elements should already support RTL use cases, but they should still be tested by writing an RTL example applications and ironing out the bugs. See parent task QTBUG-11042 for more info.
Text: horizontalAlignment, wrapMode, elide TextInput: horizontalAlignment, cursor scroll, autoScroll, text selection TextEdit: horizontalAlignment, wrapMode, text selection
Text and TextInput
When a right-to-left text is inserted, the Text and TextInput items do not treat it any differently. One must explicitly set horizontalAlignment for it to align to the right.
TextEdit
HorizontalAlignment does not need to be set explicitly for the text to be aligned to the right. However, the TextEdit.AlignLeft and TextEdit.AlignRight properties are essentially flipped.
Text selection works as expected.
Wrapping also works as expected.