diff --git a/SukiUI/Controls/SukiWindow.axaml.cs b/SukiUI/Controls/SukiWindow.axaml.cs index f8d807b42..9e681c26f 100644 --- a/SukiUI/Controls/SukiWindow.axaml.cs +++ b/SukiUI/Controls/SukiWindow.axaml.cs @@ -305,6 +305,11 @@ private void OnWindowStateChanged(WindowState state) { if (state == WindowState.FullScreen) CanResize = CanMove = false; + + if (state == WindowState.Maximized) + Margin = new Thickness(7); + else + Margin = new Thickness(0); } private void OnTitleBarPointerPressed(object? sender, PointerPressedEventArgs e)