Details
-
Suggestion
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
None
-
None
Description
Currently, QPushButton text is always centered, unless it has menus attached, in which case it becomes left-aligned on macOS.
Some applications might want to change the default alignment.
According to vhilshei (see QTBUG-107835): "In macOS's AppKit, all buttons have an alignment property, which defaults to left for menu buttons, and to center for normal push buttons. Then applications can explicitly set the property depending on the context in which the different buttons are used."
Attachments
Issue Links
- is required for
-
QTCREATORBUG-28367 Line up the buttons on the Kits > Compilers dialog
- Closed
- resulted from
-
QTBUG-107835 QPushButton::setMenu() causes text to lose center-alignment on macOS
- Closed
- mentioned in
-
Page Loading...