Closed lukasloetkolben closed 3 years ago
I was about to open an issue and noticed this one.
Is this the problem you are describing?
Here's the code I'm using (it uses the pyqt5-material fork, but the theme should be identical):
from PyQt5.QtWidgets import QApplication, QWidget, QHBoxLayout, QCheckBox, QPushButton
from pyqt5_material import apply_stylesheet
app = QApplication([])
apply_stylesheet(app, theme="dark_teal.xml")
widget = QWidget()
layout = QHBoxLayout(widget)
layout.addWidget(QCheckBox("Update automatically"))
layout.addWidget(QPushButton("Update"))
widget.show()
app.exec()
Yes I have the same issue. Are the icons working for you? I opened another issue... Maybe checkboxes are using icons and that's the reason?
You mean checked? Yes it is working:
Ahh wait, nevermind, it is clearly a problem with pyqt5-material
, I've updated my example to use PySide2 and pyside-material:
Sorry for the noise, I will open an issue there.
Unfortunately pyqt5-material
doesn't have Issues enabled, so I can't open an issue there. cc'ing @FuturisticGoo in the hopes he sees this.
Thanks for mentioning. Unfortunately I might not be able to quickly fix this because of exams, but I've enabled issues in my repo now (I don't remember turning it off) so you can create an issue there. I had some problems merging material.css.template so I think it has something to do with that, might have to check.
No worries, thanks a lot. Created https://github.com/FuturisticGoo/pyqt5-material/issues/1.
Hi @lukasloetkolben @nicoddemus @FuturisticGoo I just decided to make this project compatible with PyQt5, which means change the project name, so the troubles with the theme should be fixed now.
Awesome news! Thanks a lot @YeisonCardona.
Also many thanks to @FuturisticGoo for creating the PyQt5 fork. 👍
Checkboxes are not visible anymore when i apply the theme.