We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc91baa + 0f93224 commit fc4f778Copy full SHA for fc4f778
src/Windows/Avalonia.Win32/WindowImpl.cs
@@ -552,7 +552,7 @@ private PixelSize HiddenBorderSize
552
get
553
{
554
// Windows 10 and 11 add a 7 pixel invisible border on the left/right/bottom of windows for resizing
555
- if (Win32Platform.WindowsVersion.Major < 10 || !HasFullDecorations)
+ if (Win32Platform.WindowsVersion.Major < 10 || !HasFullDecorations || GetStyle().HasFlag(WindowStyles.WS_POPUP))
556
557
return PixelSize.Empty;
558
}
0 commit comments