make expander styling match listboxitem styling.
MODIFY
WalletWasabi.Gui/Styles/Styles.xaml
WalletWasabi.Gui/Styles/Styles.xaml
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderHighBrush}" />
</Style>
- <Style Selector="Expander:pointerover /template/ ToggleButton#PART_toggle">
+ <Style Selector="ListBoxItem:pointerover:selected Grid Expander /template/ ToggleButton#PART_toggle">
+ <Setter Property="Template">
+ <ControlTemplate>
+ <Border BorderThickness="1">
+ <Grid ColumnDefinitions="Auto,Auto">
+ <Border Background="{DynamicResource ThemeHighlightBrush}" Grid.Column="0" Width="20" Height="20" HorizontalAlignment="Center" VerticalAlignment="Center">
+ <Path Fill="{DynamicResource ThemeForegroundBrush}"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Data="M 0 2 L 4 6 L 0 10 Z" />
+ </Border>
+ </Grid>
+ </Border>
+ </ControlTemplate>
+ </Setter>
+ </Style>
+
+ <Style Selector="ListBoxItem:selected Grid Expander /template/ ToggleButton#PART_toggle">
+ <Setter Property="Template">
+ <ControlTemplate>
+ <Border BorderThickness="1">
+ <Grid ColumnDefinitions="Auto,Auto">
+ <Border Background="{DynamicResource ApplicationAccentBrushLow}" Grid.Column="0" Width="20" Height="20" HorizontalAlignment="Center" VerticalAlignment="Center">
+ <Path Fill="{DynamicResource ThemeForegroundBrush}"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Data="M 0 2 L 4 6 L 0 10 Z" />
+ </Border>
+ </Grid>
+ </Border>
+ </ControlTemplate>
+ </Setter>
+ </Style>
+
+ <Style Selector="ListBoxItem:selected:pointerover Grid Expander /template/ ToggleButton#PART_toggle">
+ <Setter Property="Template">
+ <ControlTemplate>
+ <Border BorderThickness="1">
+ <Grid ColumnDefinitions="Auto,Auto">
+ <Border Background="{DynamicResource ApplicationAccentBrushLow}" Grid.Column="0" Width="20" Height="20" HorizontalAlignment="Center" VerticalAlignment="Center">
+ <Path Fill="{DynamicResource ThemeForegroundBrush}"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Data="M 0 2 L 4 6 L 0 10 Z" />
+ </Border>
+ </Grid>
+ </Border>
+ </ControlTemplate>
+ </Setter>
+ </Style>
+
+ <Style Selector="ListBoxItem:pointerover Grid Expander:expanded /template/ ToggleButton#PART_toggle">
+ <Setter Property="Template">
+ <ControlTemplate>
+ <Border BorderThickness="1">
+ <Grid ColumnDefinitions="Auto,Auto">
+ <Border Background="{DynamicResource ThemeBackgroundBrush}" Grid.Column="0" Width="20" Height="20" HorizontalAlignment="Center" VerticalAlignment="Center">
+ <Path Fill="{DynamicResource ThemeForegroundBrush}"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Data="M 0 2 L 4 6 L 0 10 Z" />
+ </Border>
+ </Grid>
+ </Border>
+ </ControlTemplate>
+ </Setter>
+ </Style>
+
+ <Style Selector="ListBoxItem:selected:pointerover Grid Expander:expanded /template/ ToggleButton#PART_toggle">
<Setter Property="Template">
<ControlTemplate>
<Border BorderThickness="1">

make expander styling match listboxitem styling.