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

Provide FlowLayout for Qt Quick

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Quick: Layouts
    • None

    Description

      While there is a layout corresponding to most of the positioners, there is no FlowLayout.
      Please consider implementing a FlowLayout.

      One simple example use case that is not possible with the Flow positioner:

       

      FlowLayout {
        id: flowLayout
        Item {
          id: item0
          Layout.fillWidth: true
          Layout.minimumWidth: 100
        }
        Item {
          id: item1
          Layout.minimumWidth: 100
        }
      }
      • If the flowLayout had width=150, then it would have two rows, with item0 with width=150 in the first row and item1 with width=100 in the second row.
      • If the flowLayout had width=300, then it would have just one row with item0 with width=200 and item1 with width=100.

       

      Attachments

        Issue Links

          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
              phoenox Thomas Bittner
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes