Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Wpf.Ui/Controls/FluentWindow/FluentWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ protected virtual void SetWindowChrome()
? new Thickness(0.00001)
: new Thickness(-1), // 0.00001 so there's no glass frame drawn around the window, but the border is still drawn.
ResizeBorderThickness =
ResizeMode == ResizeMode.NoResize ? default : new Thickness(4),
(ResizeMode == ResizeMode.CanResize || ResizeMode == ResizeMode.CanResizeWithGrip)
? new Thickness(4)
: default, // only CanResize or CanResizeWithGrip should set Thickness
UseAeroCaptionButtons = false,
}
);
Expand Down
Loading