-
Notifications
You must be signed in to change notification settings - Fork 697
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
Padding of Minimize/Maximize/Close Buttons is Not Consistent When Using ExtendsContentIntoTitleBar #4536
Comments
I remember that I can see both sizes in different type of Win32 applications in Win10. |
Maybe I should clarify - if WinUI wants to change the style of the title bar buttons, that's fine with me. My main point here is that it should be consistent WITHIN WinUI. If I create two windows WITHIN the same app, it looks ridiculous if their title bar buttons are different. |
This is definitely unwanted behavior and should be considered as bug. WinUI needs to copy UWP when it comes to CoreTitleBar and AppTitleBar, both visually and functionality wise because it was perfect. What's the point of making the app 'look rich' by making it use latest UWP control set and leave the Title Bar (which makes the app unique for most cases) old? |
Looks like this issue has been addressed in the version 0.5.7 servicing update, but the issue still exists in 0.8.0-preview. As long as the change is also going to be made for 0.8.0, I think this issue could probably be closed. |
The fix will be in 0.8.0, and unfortunately just missed the snap for the 0.8.0-preview. |
Describe the bug
When using a custom title bar with
ExtendsContentIntoTitleBar = true
, the size of the title bar buttons changes to 21x46 pixels, instead of the normal 29x45 pixels. This makes the WinUI window look very bad when you have it next to windows with the standard buttons. Because this change also alters the hitbox of the close button, it really messes up the end user's muscle-memory when they go to close the window. From what I can tell, the icons of the button look to be approximately the right size, the main issue is that the buttons lack a significant amount of top/bottom padding .Steps to reproduce the bug
Create a custom title bar with WinUI.
Expected behavior
I expect the title bar buttons to be same size as a normal Windows 10 window.
Screenshots
Version Info
NuGet package version:
WinUI 3 - Project Reunion 0.5 Preview: 0.5.0-prerelease
Windows app type:
Additional context
None
The text was updated successfully, but these errors were encountered: