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

Can not overwrite the CheckBoxSize or CheckBoxGlyphSize for CheckBoxSize #10370

Open
SongOfYouth opened this issue Feb 19, 2025 · 0 comments
Open
Labels
bug Something isn't working team-Controls Issue for the Controls team

Comments

@SongOfYouth
Copy link

SongOfYouth commented Feb 19, 2025

Describe the bug

Can not change the CheckGlyph size by overwritting the CheckBoxSize or CheckBoxGlyphSize resource, because they are assigned via StaticResource : https://github.com/microsoft/microsoft-ui-xaml/blob/589ced40542b9b4de2fddf0e58a1e3eecd164e2f/src/controls/dev/CommonStyles/CheckBox_themeresources.xaml#L602。

Steps to reproduce the bug

<CheckBox Content="CheckBox"
          MinWidth="8">
    <CheckBox.Resources>
        <x:Double x:Key="CheckBoxGlyphSize">8</x:Double>
        <x:Double x:Key="CheckBoxSize">8</x:Double>
    </CheckBox.Resources>
</CheckBox>

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.6.5: 1.6.250205002

Windows version

No response

Additional context

No response

@SongOfYouth SongOfYouth added the bug Something isn't working label Feb 19, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Feb 19, 2025
@snigdha011997 snigdha011997 added team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants