-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] On maximize, content of the WinUI window doesn't resize automatically. Manual resizing does it well. #1612
Comments
Not fully resolved (in .NET 6 Preview 6), when resized, the inner page content responds to resize action only after crossing a threshold limit for both width and height. To simulate the issue, add a button with both its Horizontal and Vertical options set to CenterAndExpand, build and run the project, then try resizing the window. The expected output would be that button has to be in the center irrespective of its size. But here the button would respond, by aligning itself to the center of the screen, only after crossing a certain threshold. And on the other side, when the window size goes below that limit, the button would disappear from the viewing area. |
#1676 might fix this. |
Thanks for the update @hartez, will verify once it is released. |
Confirmed fixed with the latest on the main branch. |
Description
On maximize, the content of the WinUI window doesn't resize automatically. Manual window resizing does it well.
Steps to Reproduce
Expected Behavior
Content of the window should resize and fit into the window like how the manual resizing works
Actual Behavior
Window content doesn't fit into the window
Basic Information
Screenshots
Reproduction Link
Workaround
The text was updated successfully, but these errors were encountered: