Qt Reference Documentation

# Right-to-left User Interfaces: Text Alignment Example

Files:

- declarative/righttoleft/textalignment/textalignment.qml

This example shows how the horizontal alignment of Text, TextInput and TextEdit is affected by the reading direction of the text and by the layout mirrroring. Click on the gray buttons shown at the bottom of the example to toggle between different horizontal alignment options.

See also QML Right-to-left User Interfaces.