Skip to content

Conversation

@magnesj
Copy link
Member

@magnesj magnesj commented Jan 25, 2026

Often, when a push button is used, the client code calls setAlignment(Qt::AlignRight). Use this setting as default as this is the most common pattern.

Removed manual setAlignment(Qt::AlignRight) calls for UI buttons, as PdmUiButton now defaults to right alignment. Also removed unused cafPdmUiButton.h includes from several files.

Removed manual setAlignment(Qt::AlignRight) calls for UI buttons,
as PdmUiButton now defaults to right alignment. Also removed
unused cafPdmUiButton.h includes from several files.
@magnesj magnesj force-pushed the default-right-aligned-buttons branch from 3a9dc38 to b749da0 Compare January 25, 2026 06:59
@magnesj magnesj requested a review from jonjenssen January 26, 2026 06:07
@magnesj magnesj merged commit de3758c into dev Jan 27, 2026
19 checks passed
@magnesj magnesj deleted the default-right-aligned-buttons branch January 27, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants