improve persistence of window size between runs.
MODIFY
WalletWasabi.Gui/MainWindow.xaml
WalletWasabi.Gui/MainWindow.xaml
Width="{Binding Width}" Height="{Binding Height}"
WindowState="{Binding WindowState}"
UseLayoutRounding="True"
+ WindowStartupLocation="CenterScreen"
RenderOptions.BitmapInterpolationMode="HighQuality">
<cont:MetroWindow.TitleBarContent>
<StackPanel Orientation="Horizontal" IsVisible="{Binding MenuVisible}">

MODIFY
WalletWasabi.Gui/MainWindow.xaml.cs
WalletWasabi.Gui/MainWindow.xaml.cs
@@ -104,8 +104,13 @@ namespace WalletWasabi.Gui
if (Global.UiConfig != null) // UiConfig not yet loaded.
{
Global.UiConfig.WindowState = WindowState;
+
+ if (WindowState == Avalonia.Controls.WindowState.Normal)
+ {
Global.UiConfig.Width = Width;
Global.UiConfig.Height = Height;
+ }
+
Global.UiConfig.LastActiveTab = IoC.Get<IShell>().SelectedDocument?.GetType().Name;
Global.UiConfig.ToFile();
Logger.LogInfo($"{nameof(Global.UiConfig)} is saved.");

improve persistence of window size between runs.