How QPushButton checked show only border-bottom ?
Solved
General and Desktop
-
you must set checkable to true and then set border to none then set border-bottom like this:
ui->pushButton_2->setCheckable(true); ui->pushButton_2->setStyleSheet("QPushButton { font-size:20px; }" "QPushButton:checked { border:none;border-bottom:1px solid rgb(0,131,221); color:rgb(0,131,221); font-size:20px;}"); }