diff --git a/src/Avalonia.Themes.Fluent2/Accents/FluentControlResources.xaml b/src/Avalonia.Themes.Fluent2/Accents/FluentControlResources.xaml index 24a2bacdd8..a190a46f2f 100644 --- a/src/Avalonia.Themes.Fluent2/Accents/FluentControlResources.xaml +++ b/src/Avalonia.Themes.Fluent2/Accents/FluentControlResources.xaml @@ -165,6 +165,7 @@ 0 0,4,0,4 + 0 @@ -856,6 +857,7 @@ 0 0,4,0,4 + 0 diff --git a/src/Avalonia.Themes.Fluent2/Controls/ComboBox.xaml b/src/Avalonia.Themes.Fluent2/Controls/ComboBox.xaml index 7012fb1fee..a5be21322a 100644 --- a/src/Avalonia.Themes.Fluent2/Controls/ComboBox.xaml +++ b/src/Avalonia.Themes.Fluent2/Controls/ComboBox.xaml @@ -56,14 +56,27 @@ 12,5,0,7 11,5,32,6 32 + 1.5 + 4 + M4.293 8.293a1 1 0 0 1 1.414 0L12 14.586l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414Z + + + + + + + + + + + Closed control is Button-like: ControlFillColorDefault fill with a ControlElevationBorder + (both via the re-pointed ComboBox* aliases), radius 4 (ControlCornerRadius), background + sized to the inner border edge, 12px chevron in TextFillColorSecondary. The dropdown is an + acrylic flyout: OverlayCornerRadius 8, 1px SurfaceStrokeColorFlyout border and 0,4 content + margin (ComboBoxDropdownContentMargin). Press feedback is a fill change with an 83ms + cross-fade; WinUI has no press scale. --> @@ -85,7 +98,17 @@ - + + - + + + + + + + - - + no fill and, unlike a standalone TextBox, no focus accent underline. --> Transparent Transparent Transparent @@ -159,6 +178,7 @@ + Data="{StaticResource ComboBoxDropDownPathData}" /> + @@ -243,6 +267,9 @@ +