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

[REG]: When adding and showing a central widget in a QMainWindow then the layout does not respect the size policy of the central widget

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 4.6.3, 4.7.0, 4.7.1
    • Fix Version/s: None
    • Component/s: Widgets: Main Window
    • Labels:
      None

      Description

      When adding and showing a central widget in a QMainWindow then the layout does not respect the size policy of the central widget, before in 4.6.2 or earlier in the example it would take up a lot of space and resize the dock widget to its preferred size. Now in Qt 4.6.3 and later it will not take up as much as space as possible as the size policy permits.

      Change 059be19781a22d2e41f22072152589857d0fabf9 is the one that broke this.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes