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

SplitView sizing issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.6.0 Beta2
    • 6.4.0
    • Quick: Controls 2
    • None
    • 2e1dbd7e0 (dev), 04ebaaa56 (6.6)

      This attached SplitView example is modified from from "fillItemOnLeft" autotest. Tested with Qt 6.4.0 it shows 2 potential issues:

       

      1) Video 1: Initially the size of non-fill items grow bigger than SplitView, which follows documentation in the test:

      // When the combined size of items is too large, the non-fill items should just exceed
      // the size of the SplitView, exactly as they would were they in a RowLayout, for example.

      But immediately when starting resizing the item shrinks to fit. I'm thinking content should be made to fit initially, while keeping inside min & max sizes. Or is there a reason for not doing that?

       

      2) Video 2: When trying to move the left handle, middle area starts shrinking until right area reaches the implicitWidth.

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

            kagro Kaj Grönholm
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes