microsoft / WindowsAppSDK

The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
https://docs.microsoft.com/windows/apps/windows-app-sdk/
MIT License
3.85k stars 328 forks source link

UWP - ability to customize the height of the title bar caption buttons #1488

Open JaiganeshKumaran opened 3 years ago

JaiganeshKumaran commented 3 years ago

Proposal: UWP - ability to customize the height of the title bar caption buttons

In UWP, apart from the colour, it isn't possible to customize the title bar caption buttons. With Windows 11 and WinUI 2.6, custom title bars with larger heights have become the norm however these title bars look bad since the caption buttons don't cover the entire bar.

Here's an example.

The new Microsoft Store

Summary

Add a new property under ApplicationViewTitleBar to increase or decrease the height of the title bar caption buttons. There's already a Height property under CoreApplicationViewTitleBar however it's readonly. This new property could be a nullable IReference so that the developer can easily revert back to the default without the need to know the value (which is 32px right now).

Rationale

Scope

Capability Priority
This) proposal will allow developers to change the height of the title bar caption buttons Must
This proposal will allow developers to replace the caption buttons entirely Won't
SyedAounHaiderNaqvi commented 3 years ago

Yes, it'd look much nicer.

JaiganeshKumaran commented 3 years ago

@andrewleader Can we safely say that all UWP-specific feature proposals will never be fulfilled? Can we perhaps update the contributor guidelines to exclude this type of feedback? It feels like clutter at this point.

UWP is still supported and used by many first-party and third-party apps.

riverar commented 3 years ago

Deleted my earlier comment, was perhaps too sharp.

Based on the WinUI 3 roadmap changes/announcement, it's pretty clear that no further major changes are coming to "UWP". But you're certainly welcome to propose anything you want. I'd rather see your energy better used on WinUI 3 bugs/enhancements though.

JaiganeshKumaran commented 3 years ago

Deleted my earlier comment, was perhaps too sharp.

Based on the WinUI 3 roadmap changes/announcement, it's pretty clear that no further major changes are coming to "UWP". But you're certainly welcome to propose anything you want. I'd rather see your energy better used on WinUI 3 bugs/enhancements though.

UWP XAML isn't the same as UWP. WinUI 3 is a replacement for UWP XAML, not UWP as a whole.

riverar commented 3 years ago

UWP XAML isn't the same as UWP. WinUI 3 is a replacement for UWP XAML, not UWP as a whole.

Yes, I was using "UWP" as shorthand to refer to inbox WinRT XAML (aka "UWP XAML"), the thing you're asking for changes to.

JaiganeshKumaran commented 3 years ago

UWP XAML isn't the same as UWP. WinUI 3 is a replacement for UWP XAML, not UWP as a whole.

Yes, I was using "UWP" as shorthand to refer to inbox WinRT XAML (aka "UWP XAML"), the thing you're asking for changes to.

Windowing isn't part of UWP XAML. The Window class is part of XAML however ApplicationView isn't.

riverar commented 3 years ago

Best of luck with your proposal @Jaiganeshkumaran. Not interested in discussing this further with you.

ghost commented 2 years ago

@andrewleader @btueffers this issue should be closed for the same reason (CoreWindow) #159 #173 #302 got closed.