Use Wasabi Style windows for the dialog window.
MODIFY
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
@@ -105,7 +105,8 @@ namespace WalletWasabi.Gui
{
result
.UseWin32()
- .UseSkia();
+ .UseSkia()
+ .UseManagedSystemDialogs<AppBuilder, WasabiWindow>();
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
@@ -115,7 +116,7 @@ namespace WalletWasabi.Gui
}
result.UsePlatformDetect()
- .UseManagedSystemDialogs();
+ .UseManagedSystemDialogs<AppBuilder, WasabiWindow>();
}
else
{

ADD
WalletWasabi.Gui/WasabiWindow.xaml
+<cont:MetroWindow xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:cont="clr-namespace:AvalonStudio.Shell.Controls;assembly=AvalonStudio.Shell"
+ x:Class="WalletWasabi.Gui.WasabiWindow"
+ Icon="avares://WalletWasabi.Gui/Assets/WasabiLogo256.png"
+ Title="{Binding Title}"
+ FontFamily="{DynamicResource UiFont}" FontSize="14"
+ Foreground="{DynamicResource ThemeForegroundBrush}"
+ UseLayoutRounding="True"
+ RenderOptions.BitmapInterpolationMode="HighQuality" />
+

ADD
WalletWasabi.Gui/WasabiWindow.xaml.cs
+using Avalonia;
+using Avalonia.Markup.Xaml;
+using AvalonStudio.Shell.Controls;
+
+namespace WalletWasabi.Gui
+{
+ public class WasabiWindow : MetroWindow
+ {
+ public WasabiWindow()
+ {
+ InitializeComponent();
+#if DEBUG
+ this.AttachDevTools();
+#endif
+ }
+
+ private void InitializeComponent()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+ }
+}

Use Wasabi Style windows for the dialog window.