In Qt Designer I created a simple app with a button with these style sheets.
padding:10px 20px 10px 20px;
background-color: rgb(115, 115, 115);
border:1px solid white;
with these style sheets in order to click on the button, I have to click exactly on the text of it to work correctly and anywhere around the text wouldn't emit clicked signal. This is while we don't have this problem with a button without any style sheet.
Can anyone please guide me what is wrong with my style sheet. Thank you.