Skip to content
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

Styling the MultiWindowElement #141

Open
SandTechStuff opened this issue Nov 22, 2024 · 3 comments
Open

Styling the MultiWindowElement #141

SandTechStuff opened this issue Nov 22, 2024 · 3 comments

Comments

@SandTechStuff
Copy link

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.

@SandTechStuff
Copy link
Author

I may have worded my post wrong as I figured out how to style the MultiWindowElement before this, sorry about that. My question was if there is a way to make the MultiWindowElement behave more like a standard element.

For example, in one of the images above I set CornerRadius=0 on the MultiWindowsElement. The bottom of the MultiWindowElement follows this, and has no radius, while the top of it still has a rounded corner. A normal element would have no rounded corners on all sides, which is what I mean when I say “behave like a standard element”.

Setting CornerRadius to values larger than default seems to work fine, as you demonstrated in your image. Values smaller, however, seem to be finicky as stated in the example above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@SandTechStuff and others