-
-
Notifications
You must be signed in to change notification settings - Fork 947
CheckBox focus rectangle has no padding #1323
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The focus rectangle shown around a CheckBox has no padding between it and the content of the CheckBox. The root of the issue is that the ControlTemplate for the CheckBox does not utilize the control's Padding property.
To Reproduce
Use the TAB key to set focus to a CheckBox. Observe that, regardless of the CheckBox.Padding, the focus rectangle has no padding between it and the content of the CheckBox.
Expected behavior
The CheckBox.Padding should be applied to the control's ControlTemplate, which fixes the focus rectangle issue.
Screenshots
No response
OS version
Windows 11 - 26100.1.amd64fre.ge_release.240331-1435
.NET version
net9.0-windows
WPF-UI NuGet version
3.0.5
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

