Added template for IndicatorOrientation=Horizontal
MODIFY
WalletWasabi.Fluent/Controls/NavBarItem.xaml
WalletWasabi.Fluent/Controls/NavBarItem.xaml
<Styles.Resources>
<Thickness x:Key="ListBoxItemPadding">12</Thickness>
</Styles.Resources>
- <Style Selector="c|NavBarItem">
+ <Style Selector="c|NavBarItem[IndicatorOrientation=Vertical]">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Padding" Value="{StaticResource ListBoxItemPadding}" />
<Setter Property="Template">
</Setter>
</Style>
+ <Style Selector="c|NavBarItem[IndicatorOrientation=Horizontal]">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="Padding" Value="{StaticResource ListBoxItemPadding}" />
+ <Setter Property="Template">
+ <ControlTemplate>
+ <Panel>
+ <Border CornerRadius="3" x:Name="Indicator_Backdrop" Margin="4 0">
+ <Border Height="3" x:Name="Indicator" CornerRadius="6" VerticalAlignment="Bottom" HorizontalAlignment="Stretch">
+ <Border.Transitions>
+ <Transitions>
+ <DoubleTransition Property="Opacity" Duration="0:0:0.175" />
+ <TransformOperationsTransition Property="RenderTransform" Duration="0:0:.135" Easing="QuadraticEaseIn" />
+ </Transitions>
+ </Border.Transitions>
+ </Border>
+ </Border>
+
+ <ContentPresenter Name="PART_ContentPresenter"
+ Background="{TemplateBinding Background}"
+ BorderBrush="{TemplateBinding BorderBrush}"
+ BorderThickness="{TemplateBinding BorderThickness}"
+ ContentTemplate="{TemplateBinding ContentTemplate}"
+ Content="{TemplateBinding Content}"
+ Padding="{TemplateBinding Padding}"
+ VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
+ HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"/>
+ </Panel>
+ </ControlTemplate>
+ </Setter>
+ </Style>
+
<Style Selector="c|NavBarItem /template/ Border#Indicator">
<Setter Property="Background" Value="{DynamicResource SystemAccentColor}" />
<Setter Property="Opacity" Value="0" />

Added template for IndicatorOrientation=Horizontal