Android QPushButton Style is not correct
-
@HappyLius
if I remember correctly, that is the focus of the QPushbutton that is shown. That means, after the 2nd start, press the button and it should stay with the blue hue.I think I fixed that for me with removing the outline parameter from the stylesheet.
Button->setStyleSheet(QPushButton{outline: none;}); -
@HappyLius
if I remember correctly, that is the focus of the QPushbutton that is shown. That means, after the 2nd start, press the button and it should stay with the blue hue.I think I fixed that for me with removing the outline parameter from the stylesheet.
Button->setStyleSheet(QPushButton{outline: none;}); -
@HappyLius
if I remember correctly, that is the focus of the QPushbutton that is shown. That means, after the 2nd start, press the button and it should stay with the blue hue.I think I fixed that for me with removing the outline parameter from the stylesheet.
Button->setStyleSheet(QPushButton{outline: none;});@J.Hilk said in Android QPushButton Style is not correct:
start
set the border of the button can solve the problem.
setstyleSheet(border:none;border-radius:0px;)Not only the button ,but also many controls have this problem.
such as QCheckBox. I dont't know how to solve this problem. -
Yes, I'm too faced with this issue (e.g. this happens also when I try to deploy an application from QtC for debugging and so on). As I can say - this is fixed in Qt 5.9.0 (at least it is not reproducable anymore).


![0_1497237126893_)DZO@K[13]4ZEH}L_8Z{2ES.png](/uploads/files/1497237128167-dzo-k-13-4zeh-l_8z-2es-resized.png)