Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CheckBox VerticalContentAlignment is ignored on Fluent theme #18142

Open
maxkatz6 opened this issue Feb 7, 2025 · 0 comments
Open

CheckBox VerticalContentAlignment is ignored on Fluent theme #18142

maxkatz6 opened this issue Feb 7, 2025 · 0 comments
Labels
area-fluent Fluent theme related bug

Comments

@maxkatz6
Copy link
Member

maxkatz6 commented Feb 7, 2025

Reopen of #18140

I closed original issue without fully understanding the issue. That issue wasn't really about comparing styling to WPF, but actual bug with CheckBox simply ignoring VerticalContentAlignment.
For some reason I can't unlock original one, github fails with an error. So creating a new one instead.

Describe the bug

Image

To Reproduce

   <CheckBox VerticalContentAlignment="Center">
       <TextBlock>
           Some Text<LineBreak />
           Even More<LineBreak />
           And More<LineBreak />
           More</TextBlock>
   </CheckBox>

Expected behavior

in wpf

Image

Avalonia version

11.1.0

OS

No response

Additional context

No response

cc @luojunyuan

@maxkatz6 maxkatz6 added area-fluent Fluent theme related bug labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-fluent Fluent theme related bug
Projects
None yet
Development

No branches or pull requests

1 participant