WinCenterTitle icon indicating copy to clipboard operation
WinCenterTitle copied to clipboard

Is it possible to center align UWP apps' Title?

Open shinywong opened this issue 5 years ago • 3 comments

It would be nicer if UWP apps' Title can also be center aligned.

shinywong avatar Sep 18 '20 03:09 shinywong

I'd be great, but unfortunately, I don't know of any method at the moment. I think, although I am not 100% sure, that UWP applications custom draw their title bars, and if that is the case, we'd have to look for a way to do it with the help of the framework that powers this. I do not have that much insight, sorry.

valinet avatar Sep 19 '20 10:09 valinet

image https://docs.microsoft.com/en-us/windows/apps/design/shell/title-bar

doesn't this help?

adamlahbib avatar Oct 30 '21 22:10 adamlahbib

I don’t know, I am not familiar with the API… nevertheless, if the title text is custom drawn, one would have to inject the processes or cold patch the library that draws those, if any.

Window decorations hardly are a compositor’s task these days unfortunately, so that’s why it’s pretty hard to do the kind of job WinCenterTitle tries to do.

valinet avatar Oct 31 '21 02:10 valinet