Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.2.0
-
None
Description
In PySide2 we could use "qproperty-alignment: AlignRight;", but this no longer works in PySide6.
Here is the minimal reproducible example:
from PySide6 import QtWidgets app = QtWidgets.QApplication([]) window = QtWidgets.QLabel('Window from label') window.setStyleSheet('qproperty-alignment: AlignRight;') window.setFixedWidth(1000) window.show() app.exec()
Since AlignRight is equal to 2, we can replace AligntRight with 2 in the above example and alignment will work.