From a74a2849cf2cfed6da8bbcae377dc5ea60408683 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Thu, 22 Feb 2024 07:34:14 +0100 Subject: [PATCH] Use dynamic resources in expander button theme. (#14542) I'm not sure why, but the fluent `Expander` theme uses a mix of static and dynamic resources with seemingly no reason to differentiate them? It's not so much a problem for the resources in the default values for `Expander` as these can be overridden with local values, but for the toggle button and trigger styles, it means there's no way to customize these values. Converted all of the `StaticResource`s to `DynamicResource`s. --- .../Controls/Expander.xaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Avalonia.Themes.Fluent/Controls/Expander.xaml b/src/Avalonia.Themes.Fluent/Controls/Expander.xaml index b725fd67f8..55ed424e09 100644 --- a/src/Avalonia.Themes.Fluent/Controls/Expander.xaml +++ b/src/Avalonia.Themes.Fluent/Controls/Expander.xaml @@ -69,10 +69,10 @@ - + - - + + - + - + @@ -309,16 +309,16 @@