forked from M-Labs/thermostat
Move fan throttling warning to the right
This commit is contained in:
parent
5732bc951f
commit
9fc38d4614
|
@ -226,11 +226,6 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||||
self.gan_layout = QtWidgets.QHBoxLayout()
|
self.gan_layout = QtWidgets.QHBoxLayout()
|
||||||
self.gan_layout.setSpacing(9)
|
self.gan_layout.setSpacing(9)
|
||||||
self.gan_layout.setObjectName("gan_layout")
|
self.gan_layout.setObjectName("gan_layout")
|
||||||
self.fan_pwm_warning = QtWidgets.QLabel(parent=self.fan_group)
|
|
||||||
self.fan_pwm_warning.setMinimumSize(QtCore.QSize(16, 0))
|
|
||||||
self.fan_pwm_warning.setText("")
|
|
||||||
self.fan_pwm_warning.setObjectName("fan_pwm_warning")
|
|
||||||
self.gan_layout.addWidget(self.fan_pwm_warning)
|
|
||||||
self.fan_lbl = QtWidgets.QLabel(parent=self.fan_group)
|
self.fan_lbl = QtWidgets.QLabel(parent=self.fan_group)
|
||||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Expanding)
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Expanding)
|
||||||
sizePolicy.setHorizontalStretch(0)
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
@ -266,6 +261,11 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||||
self.fan_auto_box.setMaximumSize(QtCore.QSize(70, 16777215))
|
self.fan_auto_box.setMaximumSize(QtCore.QSize(70, 16777215))
|
||||||
self.fan_auto_box.setObjectName("fan_auto_box")
|
self.fan_auto_box.setObjectName("fan_auto_box")
|
||||||
self.gan_layout.addWidget(self.fan_auto_box)
|
self.gan_layout.addWidget(self.fan_auto_box)
|
||||||
|
self.fan_pwm_warning = QtWidgets.QLabel(parent=self.fan_group)
|
||||||
|
self.fan_pwm_warning.setMinimumSize(QtCore.QSize(16, 0))
|
||||||
|
self.fan_pwm_warning.setText("")
|
||||||
|
self.fan_pwm_warning.setObjectName("fan_pwm_warning")
|
||||||
|
self.gan_layout.addWidget(self.fan_pwm_warning)
|
||||||
self.horizontalLayout_6.addLayout(self.gan_layout)
|
self.horizontalLayout_6.addLayout(self.gan_layout)
|
||||||
|
|
||||||
_translate = QtCore.QCoreApplication.translate
|
_translate = QtCore.QCoreApplication.translate
|
||||||
|
|
Loading…
Reference in New Issue