Bug 445133 - Qt Group Box title will only horizontally align center
Summary: Qt Group Box title will only horizontally align center
Status: RESOLVED INTENTIONAL
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (other bugs)
Version First Reported In: 5.23.2
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-07 18:25 UTC by Paul McAuley
Modified: 2022-02-26 01:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.