UN-GCPDS / qt-material

Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6
https://qt-material.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
2.3k stars 242 forks source link

QPushButton non-clickable areas #14

Closed kohyuk91 closed 3 years ago

kohyuk91 commented 3 years ago

qpushbutton_issue

First of all, qt-material is awsome! Thank you for sharing this beautiful project with the community.

It seems like there are some non-clickable areas in the QPushButton. I've mark the non-clickable areas in red. It's not much of an issue for big buttons(left), but for small buttons(right) it's a bit of a challenge to click the 'clickable' area.

Using Windows10 by the way..

Hope this can be fixed!

YeisonCardona commented 3 years ago

Hi @kohyuk91, thanks for your support.

This is a known bug on Qt5, try to update to 5.15.2, this ffects both PyQt5 and PySide2.

pip install -U pyqt5
pip install -U pyside2

or

pip install pyqt5==5.15.2
pip install pyside2==5.15.2
kohyuk91 commented 3 years ago

Hi @kohyuk91, thanks for your support.

This is a known bug on Qt5, try to update to 5.15.2, this ffects both PyQt5 and PySide2.

pip install -U pyqt5
pip install -U pyside2

or

pip install pyqt5==5.15.2
pip install pyside2==5.15.2

Thank you for the quick response. Upgrading to 5.15.2 did the trick!