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
{{ message }}
Repository navigation
[Win32] Adjust sizing when maximized and titlebar is extended #21745
Currently the WindowChrome is applying padding to prevent UI from going out of screen when maximized. To properly support this, we should apply the padding on the native level, so that WindowChrome takes up the full screen.
Also validate sizing for maximized WinUI app and Uno app matches for the same screen.
This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.
Activity
[-][Win32] Adjust sizing when maximized[/-][+][Win32] Adjust sizing when maximized and titlebar is extended[/+]SetBorderAndTitleBarandExtendsContentIntoTitleBaron Win32 #21688MartinZikmund commentedon Nov 20, 2025
We also need to validate we get values equivalent to WinUI from:
AppWindow.SizeAppWindow.ClientSizeAppWindow.PositionWindow.BoundsXamlRoot.BoundsXamlRoot.Content.ActualSizeMost can be verified in
src/SamplesApp/UITests.Shared/Microsoft_UI_Windowing/AppWindowPositionAndSize.xamlgithub-actions commentedon May 17, 2026
This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.
fix: Inset maximized client area to work area on Win32
test: Add maximized extended-titlebar client-size guard
fix: Inset maximized client area to work area on Win32
test: Add maximized extended-titlebar client-size guard
khaskoul commentedon Aug 3, 2026
Uno.Sdk(global.json)6.7.0-dev.160Uno.WinUI(resolved)6.7.0-dev.914Uno.UI.dll/Uno.UI.Runtime.Skia.Win32.dll6.7.0-dev.914+9178101(master, commit917810172f8f4ef061e0caaa8be66c92a62d1403)Uno.Material.WinUI7.1.0-dev.1(157ff71)Uno.Toolkit.WinUI/.Material9.1.0-dev.2(75e47af)Uno.Extensions.*7.3.0-dev.115(a96b521)Uno.Resizetizer1.13.0-dev.17SkiaSharp3.119.210.0.302net10.0-desktop,net10.0-windows10.0.26100,net10.0-browserwasm(all 0 warnings / 0 errors)win-x6410.0.26100.5710.0.262001920×1080 @ 150% (144 dpi), work area1920×1008