From 0817fa22775b02d67fd19e49ec7f49dcdc1235aa Mon Sep 17 00:00:00 2001 From: Michal Rezny Date: Wed, 22 Oct 2025 13:44:52 +0200 Subject: [PATCH] Introduced resources to be able to properly resize Checkbox and RadioButton in the Compact density of the Fluent theme. (#19882) --- src/Avalonia.Themes.Fluent/Controls/CheckBox.xaml | 5 +++-- src/Avalonia.Themes.Fluent/Controls/RadioButton.xaml | 4 +++- src/Avalonia.Themes.Fluent/DensityStyles/Compact.xaml | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Avalonia.Themes.Fluent/Controls/CheckBox.xaml b/src/Avalonia.Themes.Fluent/Controls/CheckBox.xaml index a068d6a43c..1db956f141 100644 --- a/src/Avalonia.Themes.Fluent/Controls/CheckBox.xaml +++ b/src/Avalonia.Themes.Fluent/Controls/CheckBox.xaml @@ -13,6 +13,7 @@ M5.5 10.586 1.707 6.793A1 1 0 0 0 .293 8.207l4.5 4.5a1 1 0 0 0 1.414 0l11-11A1 1 0 0 0 15.793.293L5.5 10.586Z + 32 @@ -21,7 +22,7 @@ - + @@ -35,7 +36,7 @@ BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}" /> - + + 32 + @@ -30,7 +32,7 @@ BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}"> - + 28 6, 0 6,4 + 24 + 24