Skip to content

Commit

Permalink
Merge pull request #347 from FreeTheTech101/fix/ResizeMode
Browse files Browse the repository at this point in the history
Fix ResizeMode of NoResize
  • Loading branch information
pomianowski authored Sep 15, 2022
2 parents b7fecfc + 31dcee3 commit 3b3c5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wpf.Ui/Controls/UiWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private void ExtendsContentIntoTitleBarInternal(bool extendContent)
CaptionHeight = 1,
CornerRadius = new CornerRadius(4),
GlassFrameThickness = new Thickness(-1),
ResizeBorderThickness = new Thickness(4),
ResizeBorderThickness = this.ResizeMode == ResizeMode.NoResize ? new Thickness(0) : new Thickness(4),
UseAeroCaptionButtons = false
});
}
Expand Down

0 comments on commit 3b3c5b7

Please sign in to comment.