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

Button Corner Radius Click Area #3874

Closed
ivanjx opened this issue Jul 7, 2020 · 0 comments · Fixed by #3876
Closed

Button Corner Radius Click Area #3874

ivanjx opened this issue Jul 7, 2020 · 0 comments · Fixed by #3876
Labels
Milestone

Comments

@ivanjx
Copy link

ivanjx commented Jul 7, 2020

Hi,

I have been using ControlsHelper.CornerRadius to make my button rounded like this:

image

However when I tried to click 'outside' the button, it is also registered as a click as if the button isnt rounded. Take a look at the image:

image

image

I can click the button within the red box. Also here is the video demonstration of it:

video.zip

Any way to just recognize the click inside the rounded button or is this the expected behaviour of ControlsHelper.CornerRadius with buttons? I have set my buttons style based on MahApps.Styles.Button.Flat globally.

Thanks.

@ivanjx ivanjx added the Bug label Jul 7, 2020
@punker76 punker76 added this to the 2.1.2 milestone Jul 8, 2020
punker76 added a commit that referenced this issue Jul 8, 2020
punker76 added a commit that referenced this issue Jul 8, 2020
@punker76 punker76 modified the milestones: 2.1.2, 2.2.0 Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants