diff --git a/src/Wpf.Ui/Controls/FluentWindow/FluentWindow.cs b/src/Wpf.Ui/Controls/FluentWindow/FluentWindow.cs index 155e2d688..60e3dd7ea 100644 --- a/src/Wpf.Ui/Controls/FluentWindow/FluentWindow.cs +++ b/src/Wpf.Ui/Controls/FluentWindow/FluentWindow.cs @@ -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, } );