From 2199a827b0deb98b743469daaf9d6a7d568f63c9 Mon Sep 17 00:00:00 2001 From: dipeshmsft Date: Fri, 20 Sep 2024 19:54:07 +0530 Subject: [PATCH 1/2] Fixing template bindings in CheckBox and making it similar to WinUI --- .../Resources/Theme/Dark.xaml | 50 ++++-- .../Resources/Theme/HC.xaml | 56 +++++-- .../Resources/Theme/Light.xaml | 50 ++++-- .../Styles/CheckBox.xaml | 129 ++++++++++----- .../Themes/Fluent.Dark.xaml | 142 ++++++++++++----- .../Themes/Fluent.HC.xaml | 148 ++++++++++++------ .../Themes/Fluent.Light.xaml | 142 ++++++++++++----- 7 files changed, 509 insertions(+), 208 deletions(-) diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Dark.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Dark.xaml index de103222e75..710ef4ceadf 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Dark.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Dark.xaml @@ -367,21 +367,49 @@ - - - - - - - - - + + + - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HC.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HC.xaml index 0b896c89f8f..48a44717089 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HC.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HC.xaml @@ -83,7 +83,7 @@ - + @@ -233,21 +233,49 @@ - - - - - - - - - + + + - - + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -608,7 +636,7 @@ #2D3236 - Transparent + Transparent #2D3236 #2D3236 #2D3236 diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Light.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Light.xaml index 54a181b0590..2c0c99a8474 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Light.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Light.xaml @@ -361,21 +361,49 @@ - - - - - - - - - + + + - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/CheckBox.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/CheckBox.xaml index 41ca5bebbf1..9a61663dac4 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/CheckBox.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/CheckBox.xaml @@ -17,57 +17,61 @@ #FFFF0000 11,5,11,6 - 1 + 1 8,0,0,0 14 - 22 - 22 + 20 + 32 + 120 +