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

White Edges around Buttons #359

Open
timbiermann1271 opened this issue Jul 29, 2022 · 1 comment
Open

White Edges around Buttons #359

timbiermann1271 opened this issue Jul 29, 2022 · 1 comment

Comments

@timbiermann1271
Copy link

Just started playing around with Visual Studios 2022 and Material Skin. I am having an issue when I place a button, basically there seems to be a white edge that is visible around the edges as shown in the picture below.

image

I am using Framework 4.8

Any idea what is causing this?

Many Thanks

@progmars
Copy link

I found that shadow causes undesired coloring in the corners. I had to remove the code:

DrawHelper.DrawSquareShadow(g, ClientRectangle);

for the button to get rid of this.

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