Change checkbox position for a QCheckBox

前端 未结 2 1665
忘掉有多难
忘掉有多难 2021-01-19 07:33

I have a QCheckbox in a grid layout defined as such:

self.isSubfactorCheckbox = QtGui.QCheckBox(\'Is &subfactor\', self)

By default the

2条回答
  •  不思量自难忘°
    2021-01-19 07:47

    Even easier...

    Use the QWidget.setLayoutDirection method and set it RightToLeft vs. LeftToRight

    You can do this in Designer or through code, it is a property or all widgets.

提交回复
热议问题