Minimise, Maximise, and Close aren't Aligned on Touch Density
lzlrd opened this issue · 4 comments
Actually... that's the standard behavior for UWP apps.
I think you are using non-integer scaling which is probably the reason why it doesn't fit correctly.
Because it is not an Edge theme it does not tries to mimic it, the tab bar/nav bar size is personal preference.
If you want to change the tab bar/nav bar size add the following into customChrome.css
--tab-min-height: 42px !important;
--uwp-urlbar-height: 42px !important;
--uwp-navbar-letterbox: 0px !important;
--uwp-navbar-letterbox-bookmarks: 0px !important;
Adjust to preference. It also disables the letterboxing margin.
Actually... that's the standard behavior for UWP apps.
I assumed that was an inconsistency on Microsoft's side, since some other apps with a "bar" at the top [which is darker than the "main" app interface] the navigation? buttons are stretched to match it.
I think you are using non-integer scaling which is probably the reason why it doesn't fit correctly.
I am, yes, though I'm not sure what you're referring to by "it doesn't fit" here since your GIF exhibits the same "problems" I brought up.
Because it is not an Edge theme it does not tries to mimic it, the tab bar/nav bar size is personal preference.
Alright, if that's the reasoning then I'm content with it as is.
If you want to change the tab bar/nav bar size add the following into customChrome.css
Thanks for the tip! It seems...
--tab-min-height: 42px !important; --uwp-urlbar-height: 42px !important;
...isn't making any difference for me, however.
I assumed that was an inconsistency on Microsoft's side, since some other apps with a "bar" at the top [which is darker than the "main" app interface] the navigation? buttons are stretched to match it.
This is quite common. UWP apps have a predefined and enforced titlebar and buttons but Win32 apps can go wild so for the sake of consistency and because the theme tries to mimic UWP the titlebar and buttons were made to respect the default behavior.
I am, yes, though I'm not sure what you're referring to by "it doesn't fit" here since your GIF exhibits the same "problems" I brought up.
Fit as in not leaving a gap in compact/normal mode. This is a bug when scaling but I'm not sure how to fix it properly, I'll check.
Touch mode is gonna have the gap regardless of scaling setting.
...isn't making any difference for me, however.
It might be in touch mode. Add another selector like this:
:root[uidensity="touch"] {
--tab-min-height: 50px !important;
--uwp-urlbar-height: 50px !important;
}
It might be in touch mode. Add another selector like this:
:root[uidensity="touch"] { --tab-min-height: 50px !important; --uwp-urlbar-height: 50px !important; }
That works, thanks.