Skip to content

Commit

Permalink
Updated corner radius
Browse files Browse the repository at this point in the history
  • Loading branch information
SDClowen authored May 17, 2024
1 parent 4556508 commit 1b91686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dnSpy/dnSpy.Contracts.DnSpy/Controls/MetroWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1b91686

Please sign in to comment.