update main window to be compatible with new updates.
MODIFY
WalletWasabi.Gui/MainWindow.xaml
WalletWasabi.Gui/MainWindow.xaml
xmlns:beh="clr-namespace:AvalonStudio.Utils.Behaviors;assembly=AvalonStudio.Utils"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Icon="resm:WalletWasabi.Gui.Assets.WasabiLogo.png?assembly=WalletWasabi.Gui"
- Title="{Binding Title}" BorderThickness="1" BorderBrush="{DynamicResource AvalonBorderBrush}"
+ Title="{Binding Title}"
MinWidth="1100" MinHeight="530"
FontFamily="{DynamicResource UiFont}" FontSize="14"
Foreground="{DynamicResource ThemeForegroundBrush}"
<behaviors:PredicateCloseBehavior CanClose="{Binding CanClose}" />
</i:Interaction.Behaviors>
<cont:MetroWindow.TitleBarContent>
+ <menu:MainMenuView DataContext="{Binding Shell.MainMenu}" Margin="4 0 0 0" Foreground="{DynamicResource ThemeForegroundBrush}" VerticalAlignment="Stretch" FontSize="13" />
</cont:MetroWindow.TitleBarContent>
- <Grid Margin="0,10,0,0">
+ <cont:MetroWindow.Styles>
+ <Style Selector="Menu > MenuItem:selected /template/ Border#root">
+ <Setter Property="Background" Value="{DynamicResource ThemeControlMidBrush}"/>
+ </Style>
+
+ <Style Selector="Menu > MenuItem">
+ <Setter Property="Padding" Value="7 0"/>
+ </Style>
+
+ <Style Selector="MenuItem">
+ <Setter Property="BorderThickness" Value="0"/>
+ </Style>
+ </cont:MetroWindow.Styles>
+ <Grid>
<DockPanel LastChildFill="True">
<wasabi:StatusBar DockPanel.Dock="Bottom" DataContext="{Binding StatusBar}" />
<shell:ShellView DataContext="{Binding Shell}" />

update main window to be compatible with new updates.