Hi
I Only used style sheets.
Regards
Hi
I Only used style sheets.
Regards
Hi
this is my code
MyPushButton::MyPushButton(QWidget *parent) : QPushButton(parent)
{
MyPushButton::setFixedSize(115, 115);
MyPushButton::setStyleSheet ("background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #649600, stop: 0.9 #000000); border:none; border-radius: 20px;color: #964600;");
QFont f("Arial", 14);
MyPushButton::setFont(f);
}
There must be another place where you are setting stylesheet... probably on hover or focus case.
Hi
I am not using both hover or focus case but still i guess internally hover or focus function is getting called.
Bookmarks