Open BAndysc opened 1 month ago
You can test this PR using the following package version. 11.3.999-cibuild0052798-alpha
. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]
You can test this PR using the following package version. 11.3.999-cibuild0052824-alpha
. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]
You can test this PR using the following package version. 11.3.999-cibuild0052826-alpha
. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]
You can test this PR using the following package version. 11.3.999-cibuild0052828-alpha
. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]
You can test this PR using the following package version. 11.3.999-cibuild0052830-alpha
. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]
What does the pull request do?
This PR moves
NSWindowStyleMaskResizable
flag application fromSystemDecorationsFull
case outside of the switch, so this flag is applied also for other system decorations.What is the current behavior?
NSWindowStyleMaskResizable
is applied only forSystemDecorationsFull
. Other decorations make windows not resizable.What is the updated/expected behavior with this PR?
NSWindowStyleMaskResizable
is applied regardless of SystemDecorations, it always followsCanResize
property.Checklist
Breaking changes
Windows which have decorations set to
None
orBorderOnly
andCanResize=true
(default) will now become resizable, which can be unexpected for some people. But this behaviour is expected since CanResize is set to true, isn't it?Obsoletions / Deprecations
Fixed issues
Fixes #17295