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.22k stars 240 forks source link

Why is all title uppercase by default? #81

Closed CheerMan1 closed 1 year ago

CheerMan1 commented 1 year ago

Why is all title uppercase by default?

Atumyugi commented 1 year ago

Hello, I also want to know

CheerMan1 commented 1 year ago

You can override the original style

app = QApplication(sys.argv)
apply_stylesheet(app, "dark_teal.xml")
stylesheet = app.styleSheet()
with open('custom.css') as file:
    app.setStyleSheet(stylesheet + file.read().format(**os.environ))

custom.css

QGroupBox {{ text-transform: none; margin: 0px; padding: 20px 0px 10px 0px; }} QPushButton {{ text-transform: none; }}

Atumyugi commented 1 year ago

thanks,it's useful 😁