You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting the OverlappedPresenter's IsMaximazable property to false only makes the caption button to be grayed out. You can still click it.
Related to an issue with maximized windows showing the resizable pointer on the upper edge, if you set IsResizable to false, the pointer will still change.
Steps to reproduce the bug
Create a WinUI 3 project;
Get a reference to the window's presenter and set these properties to false;
Build and run the app.
Expected behavior
It should be impossible to maximize the window.
Screenshots
No response
NuGet package version
Windows App SDK 1.4 Preview 1: 1.4.230628000-preview1
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022-preview
Additional context
No response
The text was updated successfully, but these errors were encountered:
This issue is annoying, as it makes a window with ExtendsContentIntoTitleBar=true and IsMaximizable=false looks even worse when user accidentally double click on the titlebar.
Any fix for now?
Describe the bug
Setting the OverlappedPresenter's IsMaximazable property to false only makes the caption button to be grayed out. You can still click it.
Related to an issue with maximized windows showing the resizable pointer on the upper edge, if you set IsResizable to false, the pointer will still change.
Steps to reproduce the bug
Expected behavior
It should be impossible to maximize the window.
Screenshots
No response
NuGet package version
Windows App SDK 1.4 Preview 1: 1.4.230628000-preview1
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022-preview
Additional context
No response
The text was updated successfully, but these errors were encountered: