Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.10.1
-
None
Description
http://doc.qt.io/qt-5/qml-qtquick-layouts-columnlayout.html#layoutDirection-prop
So Column does not support layoutDirection, but ColumnLayout does... (which I think should be backported to Column, but anyway...)
The documentation refers to left vs right, which I think is fine if one assumes LtR is natural ordering (like the natural number line) and RtL is reversed natural ordering (negative number line)
There could be an argument for another enum of Qt::NaturalOrdering, Qt::ReversedOrdering, corresponding to Qt::LeftToRight and Qt::RightToLeft, respecticely, but yet again I digress.
It should say
This property holds the layout direction of the column layout - it controls whether items are laid out from top to bottom or bottom to top. If Qt.RightToLeft is specified, top-aligned items will be bottom-aligned and top-aligned items will be bottom-aligned.
Possible values:
Qt.LeftToRight (default) - Items are laid out from top to bottom.
Qt.RightToLeft - Items are laid out from bottom to top
This QML property was introduced in QtQuick.Layouts 1.1.