microsoft / microsoft/microsoft-ui-xaml

Can not overwrite the `CheckBoxSize` or `CheckBoxGlyphSize` for CheckBoxSize

Open
#10,370 0 comments 0 reactions 0 assignees View on GitHub
area-Resources bug team-Controls
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### 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

```xaml


8
8

```

### 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_

Contributor guide

Open the contributing guide

Research direction

Start in src/controls/dev/CommonStyles/CheckBox_themeresources.xaml at the referenced line where the checkbox glyph sizing resources are assigned. Reproduce the issue with the provided XAML in a WinUI 3 app, then verify that local CheckBoxSize and CheckBoxGlyphSize resources control the rendered glyph size as intended.

Written by the indexing model from the issue text.

Assessment

Domain
design, desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.