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

Incorrect UI widget spacing if stylesheet applied to a groupbox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.9.2
    • Widgets: Style Sheets
    • None
    • It doesn't occur on Windows. Only Mac OS.

      Tested with Qt 5.9 and Mac OS 10.13.
    • macOS

    Description

      If a UI Groupbox has any type of stylesheet applied, the spacing of any contained buttons that have stylesheets applied isn't correct - Buttons overlap if stacked vertically. Even if a stylesheet of "/**/" is applied to the groupbox it will cause this problem. 

       

      If no stylesheets are applied to the contained buttons then the spacing is correct.

       

       

      Interestingly QtCreator's UI gets the spacing correct (more or less):

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            w_h William Hollingworth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes