ramensoftware / windows-11-taskbar-styling-guide

A collection of commonly requested taskbar styling customizations for Windows 11
187 stars 16 forks source link

Styling the MultiWindowElement #141

Open SandTechStuff opened 3 days ago

SandTechStuff commented 3 days ago

I want to decrease the corner radius for the taskbar program buttons, which is easily doable with CornerRadius=2, but I cannot figure out how to apply it to the MultiWindowElement. Without applying it to both, it looks inconsistent.

image Actual button has corner radius of 2, while MultiWindowElement does not follow.

It seems CornerRadius does have an effect on the MultiWindowElement, but it does not seem consistent with the program buttons.

image MultiWindowElement with CornerRadius=0, the bottom of it is not rounded, yet the top still is. Difficult to see in this screenshot, as snipping tool cut it off.

Is there any known way to make the MultiWindowElement behave like a normal element, or is there a different style to modify its corner radius? It seems almost hard-coded to be the shape that it is, and is unlike anything I have seen in taskbar styling.

bbmaster123 commented 2 days ago

It doesn't seem to work for me in UWPspy either, but in windhawk Border#MultiWindowElement and CornerRadius=XX are working. Its a bit of an oddball case as it appears its both a visual state, and its own element that can be targeted like any other element.

Here I set it to Red with corner radius set to 18 just to demonstrate it working, I'm sure it will look a lot nicer when you do it. image

Let me know if you have any trouble!