Change bottom items style depending on whether navbar is open
MODIFY
WalletWasabi.Fluent/Views/NavBar/NavBar.axaml
WalletWasabi.Fluent/Views/NavBar/NavBar.axaml
<c:NavBarListBox Items="{Binding BottomItems}"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
Name="BottomListBox"
- Classes="horizontal">
+ Classes.horizontal="{Binding IsOpen}"
+ Classes.vertical="{Binding !IsOpen}">
<c:NavBarListBox.Styles>
+ <Style Selector=":is(ListBox).vertical /template/ #PART_ItemsPresenter > StackPanel">
+ <Setter Property="Orientation" Value="Vertical" />
+ <Setter Property="HorizontalAlignment" Value="Left" />
+ </Style>
+ <Style Selector=":is(ListBox).horizontal /template/ #PART_ItemsPresenter > StackPanel">
+ <Setter Property="Orientation" Value="Horizontal" />
+ <Setter Property="HorizontalAlignment" Value="Left" />
+ </Style>
<Style Selector=":is(ListBox)">
<Setter Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" />
+ <StackPanel />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>

Change bottom items style depending on whether navbar is open