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

Feature request: QLayout/QVBoxLayout gets property that determines what to do if widgets cannot fill space

XMLWordPrintable

      Feature Request :

      QLayout/QVBoxLayout has a feature that distributes widgets with equally spaced "emptiness" in between in case that widgets may not fill entire layout. For example, when sizes of widgets are restrained (line edits etc.).

      Typically, one wants to add adjustable space at the bottom or at the right side of the parent widget. This is done usually by inserting a spacer.

      Considering how often this is required, could you please add an attribute that tells the layout that instead of equally spacing widgets it should instead cluster them to the left/top of the widget?

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

            iamsergio Sergio Martins
            shmittal Shveta Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes