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

Fusion adds exessive, unexpected borders around QGroupBox

    XMLWordPrintable

Details

    Description

      The Fusion theme has a rather excessive border around neighboring QGroupBoxes unlike, the other themes. I have attached a comparison between Fusion and 'Windows XP' as rendered by Qt Designer in preview mode, along with the .ui file in question.

      I really like Fusion and would love to use it as a consistent theme across platforms but it seems to ignore my sizing guide (manually setting the margins) and adds a lot of weird whitespace. I think the whitespace is a bug.

      Is there some way to change the behavior for neighboring QGroupBoxes?

      Related forum post: http://qt-project.org/forums/viewthread/52233/

      Attachments

        1. Slim4.ui
          52 kB
        2. fusion.png
          fusion.png
          20 kB
        3. xpstyle.png
          xpstyle.png
          16 kB
        4. fusion_vs_windows2.png
          fusion_vs_windows2.png
          88 kB
        5. screenshot.png
          screenshot.png
          31 kB
        6. MainWindow.cpp
          0.6 kB
        7. MainWindow.h
          0.1 kB
        8. main.cpp
          0.2 kB
        9. MainWindow.cpp
          0.6 kB
        For Gerrit Dashboard: QTBUG-44056
        # Subject Branch Project Status CR V

        Activity

          People

            yulong.bai Bai Yulong
            kandel3 Mikhail Kandel
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes