PySide2 and string based style for quick testing...
Solved
General and Desktop
-
Hey
How can I properly do this ? :
style = """ { background-color : rgba(64,64,64,255); }; QLabel { color: rgb(50, 50, 50); font-size: 11px; background-color: rgba(188, 188, 188, 50); border: 1px solid rgba(188, 188, 188, 250); } ; QSpinBox { color: rgb(50, 50, 50); font-size: 11px; background-color: rgba(255, 188, 20, 50); }; """ model = QGraphicsScene() view = QGraphicsView() view.setStyleSheet(style)
It seems to not work as is
TIA
-
Hi
Not even when " is on same line/ no newline?s = """ this is a very long string if I had the energy to type more and more ...""" or s = ("this is a very" "long string too" "for sure ..." )
-
-
Hi,
What exactly doesn't work ?