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

Implement what's missing to Flexbox Layout in order to support Bootstraps responsive Grid System

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.11
    • Quick: Layouts
    • None

    Description

      With flexbox layout we can take advantage of its wrapping "wrap" mechanism to make our support for responsive layouts better.

      Bootstrap (.js) have a popular way of using flexbox layouts to make their UI's responsive with their Grid system [1].

      However, Bootstrap relies on the fact that you can assign percent sizes to a child element of a layout. The percent is relative to the layout dimensions. We don't support that, because e.g. "width" accepts just a scalar number.

      Figure out if there are alternative ways we can make the similar responsive layouts with the minimum API additions required.

       

      Links & resources

      1. Bootstraps Grid system: https://getbootstrap.com/docs/5.0/layout/grid/
      2. chania.html demonstrates how this is done by bootstrap (but without bootstrap dependency)

      Attachments

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

        Activity

          People

            smd Jan Arve
            smd Jan Arve
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes