https://bugs.kde.org/show_bug.cgi?id=436993
            Bug ID: 436993
           Summary: QGroupBox with no title takes too much space
           Product: Breeze
           Version: 5.21.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: QStyle
          Assignee: plasma-b...@kde.org
          Reporter: krzmb...@gmail.com
                CC: noaha...@gmail.com
  Target Milestone: ---

SUMMARY
When creating a QGroupBox in a Qt application running on KDE using the default
style, the box will allocate space for the box's title even if there is none

STEPS TO REPRODUCE
1. Create QGroupBox without a title

EXPECTED RESULT
QGroupBox resizing to skip the space normally reserved for the title.


SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.21
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-59-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4770 CPU @ 3.40GHz
Memory: 15,6 GiB of RAM
Graphics Processor: GeForce GTX 660 Ti/PCIe/SSE2

ADDITIONAL INFORMATION
This is the same issue as was reported to Qt for their Fusion style:
https://bugreports.qt.io/browse/QTBUG-86411
And this was the fix for it:
https://codereview.qt-project.org/c/qt/qtbase/+/314739
I would assume that maybe the same patch could be applied to KDE's styles.

Note also that I am using the Breeze theme which is why I filed the issue
against that. I don't know though if that is actually responsible for this.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to