0 votes
in Programming by (580 points)

In Qt Designer I created a simple app with a button with these style sheets.

QPushButton {
    background: #434343;
    color: #fff;
    padding:10px 20px 10px 20px;
    border-radius: 5px;
    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.

Please log in or register to answer this question.