Open Poopooracoocoo opened 3 years ago
and please don't say "just use winui, msix and uwp". it's a meme at this point. the new Microsoft Emulator isn't a UWP or WinUI app. The Xbox app just stopped using MSIX. Skype ditched UWP and WinUI. Teams and Edge are just Chromium. The list goes on and on.
When a Window is maximized, the non-client area will hang over the outside of the screen. Class non-ApplicationFrameHost
windows have their non-client area hang over, which makes the title bar smaller. ApplicationFrameHost
windows paint the title bar by itself. When maximized, it accounts for the offset hang and shifts the painting area so it can paint a full sized title bar.
Just make ApplicationFrameHost
windows not account for the overhang when painting the title bar when maximized and the two should look the same.
Proposal: Size of win32 title bars are different to UWP apps
Summary
see https://github.com/microsoft/PowerToys/issues/6409
Rationale
Scope
Important Notes
Open Questions