Skip to content

Several controls, including RadioButton and CheckBox don't align right when setting FlowDirection to RightToLeft #377

@MulleDK19

Description

@MulleDK19

Describe the bug
I needed the checks to be on the right side of the label
image

which usually is achievable by simply changing the flow direction to RightToLeft. But with the WPF UI style, instead of the label and check swapping position, the check stays in place and the label jumps to the other side, which results in misalignment.
image

Removing the style shows what it should look like
image

To Reproduce
Place a bunch of radio buttons in a vertical stack panel, set their HorizontalAlignment to Right, and their FlowDirection to RightToLeft.

Expected behavior
image

Screenshots
image

And I can't correct it by putting them in a grid instead and moving them manually, because their size changes depending on the position of the other radio buttons 🤔

I'm using radio buttons with the toggle button style as a workaround for now.
image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions