Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Right-to-left User Interfaces: Layout Direction Example

Files:

- declarative/righttoleft/layoutdirection/layoutdirection.svg
- declarative/righttoleft/layoutdirection/qml/layoutdirection/layoutdirection.qml
- declarative/righttoleft/layoutdirection/main.cpp
- declarative/righttoleft/layoutdirection/layoutdirection.pro
- declarative/righttoleft/layoutdirection/layoutdirection.qmlproject

brief This example shows how to control the horizontal layout direction of Row, Grid and Flow positioners, and ListView and GridView model views.

Click on the gray buttons shown at the bottom of the example to toggle the layout direction of the shown elements.

See also QML Right-to-left User Interfaces.