From 1b9168666e0241673f48ef483b35b6e5a113371e Mon Sep 17 00:00:00 2001 From: Mahmut YILDIRIM Date: Fri, 17 May 2024 09:27:03 +0300 Subject: [PATCH] Updated corner radius --- dnSpy/dnSpy.Contracts.DnSpy/Controls/MetroWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnSpy/dnSpy.Contracts.DnSpy/Controls/MetroWindow.cs b/dnSpy/dnSpy.Contracts.DnSpy/Controls/MetroWindow.cs index df40e5c0de..91141b2e84 100644 --- a/dnSpy/dnSpy.Contracts.DnSpy/Controls/MetroWindow.cs +++ b/dnSpy/dnSpy.Contracts.DnSpy/Controls/MetroWindow.cs @@ -653,8 +653,8 @@ public bool ShowCloseButton { static MetroWindow() => DefaultStyleKeyProperty.OverrideMetadata(typeof(MetroWindow), new FrameworkPropertyMetadata(typeof(MetroWindow))); // If these get updated, also update the templates if necessary - static readonly CornerRadius CornerRadius = new CornerRadius(0, 0, 0, 0); - static readonly Thickness GlassFrameThickness = new Thickness(0); + static readonly CornerRadius CornerRadius = new CornerRadius(12, 12, 12, 12); + static readonly Thickness GlassFrameThickness = new Thickness(1); // NOTE: Keep these in sync: CaptionHeight + ResizeBorderThickness.Top = GridCaptionHeight static readonly double CaptionHeight = 20; static readonly Thickness ResizeBorderThickness = new Thickness(10, 10, 5, 5);