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

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.6.3, 4.7.0, 4.7.1
    • Widgets: Main Window
    • 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

            Unassigned Unassigned
            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