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

Docking a QDockWidget with a fixed width causes a gray space to appear

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.0
    • 4.6.2
    • Widgets: Main Window
    • None
    • 8f53bf1b99d32caaebe8cbd1d9bd3a7381821988

    Description

      When having a QDockWidget with a fixed size smaller than 121 and setting the "ForceTabbedDocks" option, then this produces a large gray space if the dockwidget is docked.

      Attached is a .ui file that reproduces the problem (tested on Windows).

      Follow these steps:
      (1) Load the file in Qt Designer and start the preview.
      (2) Dock the large (the wide one) DockWidget to the left side.
      (3) Undock the docked widget from step 2.
      (4) Dock the smaller (the thin one) QDockWidget to the left side.

      Attachments

        1. dockWidgetBug.JPG
          dockWidgetBug.JPG
          41 kB
        2. mainwindow.ui
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            naevdal Sigrid Fjell Nævdal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes