In my program I have styled my buttons using css. I am using "-fx-background-radius" to round the corners and have noticed that when I hover over where the corners used to be it allows me to click the button. I was just wondering if there is a way to make it so that the 'hit-box' for the button matches what you see.
Thank you.