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

uniformCellSize and Bento Box Layout

    XMLWordPrintable

Details

    • All

    Description

      To have Bento box layout from Figma design it seems it can not work out of box, because then Qt Quick layout needs calculation of width/height etc to come up to a correct proportion to make it  Bento, and since it is done using Layout then in some cases nesting of layout would be needed. Attached is one example and details about it which use Layout.

      Generally Figma designers will not work on proportional box widths when they are designing around a grid, and it comes down to developer do lots of calculation and math.

      UniformCellSize looks promising for this use but at the moment it looks like with uniformCellSizes spanning  does not maintains uniformity. 

      So it would be great if uniformCellSize also consider its one of use case to make Bento box.

      Attachments

        1. BentoBox Maths.xlsx
          11 kB
        2. BentoBox Maths (2).pdf
          9.02 MB
        3. qtbug121717.zip
          23.11 MB
        4. uniformCellWidths.qml
          1 kB

        Issue Links

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

          Activity

            People

              smd Jan Arve
              irfan.omair@digia.com Irfan Omair
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes