- CNCJob UI - Autoleveller feature - added a StyleSheet for the Pause/resume button
This commit is contained in:
parent
e07c9b9560
commit
5c960debf5
|
@ -2253,6 +2253,14 @@ class CNCObjectUI(ObjectUI):
|
|||
self.pause_resume_button.setSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||||
self.pause_resume_button.setText(_("Pause/Resume"))
|
||||
self.pause_resume_button.setCheckable(True)
|
||||
self.pause_resume_button.setStyleSheet("""
|
||||
RotatedToolButton:checked
|
||||
{
|
||||
background-color: red;
|
||||
color: white;
|
||||
border: none;
|
||||
}
|
||||
""")
|
||||
|
||||
pause_frame = QtWidgets.QFrame()
|
||||
pause_frame.setContentsMargins(0, 0, 0, 0)
|
||||
|
|
Loading…
Reference in New Issue