(pyQt/pySide)setStyleSheet(border…) makes QPushButton not clickable in Maya - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: (pyQt/pySide)setStyleSheet(border…) makes QPushButton not clickable in Maya (/thread-9540.html) |
(pyQt/pySide)setStyleSheet(border…) makes QPushButton not clickable in Maya - vladlenPy - Apr-15-2018 Hey, guys. Trying to learn PyQt inside Maya and I am facing little problem which is more of discomfort then a problem. When I set border for my button : button.setStyleSheet(' background-color: rgb(120, 120, 100); color:rgb(1, 255, 255); border: none') My button is still working , but visually it's not clickable , if you click on button it's being static. Anybody faced that problem and knows how to solve ? Any help will really appreciate. Thanks! |