Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-67437

ColumnLayout documentation is copy-pasted RowLayout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.10.1
    • Quick: Layouts
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            scorp1us Jason Hihn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes