diff options
author | Dheerendra Purohit <[email protected]> | 2025-06-06 17:56:35 +0530 |
---|---|---|
committer | Dheerendra Purohit <[email protected]> | 2025-06-07 11:40:34 +0530 |
commit | 805f9964b43ced2836272f2c059700d5d5fc6ac1 (patch) | |
tree | cc6e136160b1f18f5eede67f1f9c418b1ed9dfaf | |
parent | 6ef8e53c7f4c6f32ec5468c6add4e3119290d8d1 (diff) |
Updated the documentation to better explain of the layoutDirection
property affects horizontal alignment and order of items in a
ColumnLayout
Fixes: QTBUG-109085
Change-Id: I1d6fd156c11d8cb0e56e334cb810323aa5846abb
Reviewed-by: Axel Spoerl <[email protected]>
-rw-r--r-- | src/quicklayouts/qquicklinearlayout.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/quicklayouts/qquicklinearlayout.cpp b/src/quicklayouts/qquicklinearlayout.cpp index 38677203db..dd6523215b 100644 --- a/src/quicklayouts/qquicklinearlayout.cpp +++ b/src/quicklayouts/qquicklinearlayout.cpp @@ -847,9 +847,10 @@ QQuickLinearLayout::QQuickLinearLayout(Qt::Orientation orientation, \qmlproperty enumeration ColumnLayout::layoutDirection \since QtQuick.Layouts 1.1 - This property holds the layout direction of the column layout - it controls whether items are laid - out from left to right or right to left. If \c Qt.RightToLeft is specified, - left-aligned items will be right-aligned and right-aligned items will be left-aligned. + This property holds the layout direction of the column layout - it + controls the horizontal alignment of items within the column. + If \c Qt.RightToLeft is specified,left-aligned items will be + right-aligned and right-aligned items will be left-aligned. Possible values: |