From e59348d6b877c6e1022f8cadfd94d8672a61a793 Mon Sep 17 00:00:00 2001 From: Emmanuel Hansen Date: Fri, 11 Sep 2026 13:03:15 +0000 Subject: [PATCH] fluent 2 - add listbox selection indicator keys --- .../Controls/ListBoxItem.xaml | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/Avalonia.Themes.Fluent2/Controls/ListBoxItem.xaml b/src/Avalonia.Themes.Fluent2/Controls/ListBoxItem.xaml index 7f2105cdea..377dbd8b6d 100644 --- a/src/Avalonia.Themes.Fluent2/Controls/ListBoxItem.xaml +++ b/src/Avalonia.Themes.Fluent2/Controls/ListBoxItem.xaml @@ -25,6 +25,9 @@ 12,9,12,12 40 88 + 3 + 16 + 2 @@ -40,27 +43,27 @@ + expressed here as a scaleY render transform so the animation doesn't run layout every + frame (technique from FluentAvalonia). ListViewItemSelectionIndicatorBrush is not aliased + in this theme yet, so the Fluent 2 token AccentFillColorDefaultBrush is referenced directly. -->