Bug 445133

Summary: Qt Group Box title will only horizontally align center
Product: [Plasma] Breeze Reporter: Paul McAuley <kde>
Component: QStyleAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: nate, noahadvs, uhhadd
Priority: NOR    
Version First Reported In: 5.23.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paul McAuley 2021-11-07 18:25:21 UTC
I am trying to align a Qt Group Box title in Qt Designer to the left. However, if you try to horizontally align the Group Box title to the left or the right it still displays in the center. If I change my application style to Fusion this works perfectly, but not in Breeze.

Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.3.18-59.27-preempt (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Comment 1 Nate Graham 2021-11-08 23:09:31 UTC
This may be intentional, to preserve a common styling for titled group boxes.
Comment 2 Janet Blackquill 2022-02-26 01:44:10 UTC
Yeah, this is intentional; we always center titles regardless of what the app specifies. Unless this behaviour breaks any apps, I don't think it's that harmful to do it, and improves visual consistency. Marking as RESOLVED INTENTIONAL; please do open a new bug naming any specific apps that are broken if this does break something.