From 9fc38d461422d204b93936f1ba5f52560f55ab5b Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 26 Jul 2023 14:02:55 +0800 Subject: [PATCH] Move fan throttling warning to the right --- pytec/tec_qt.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 4c09280..4b258fe 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -226,11 +226,6 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): self.gan_layout = QtWidgets.QHBoxLayout() self.gan_layout.setSpacing(9) 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) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Expanding) 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.setObjectName("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) _translate = QtCore.QCoreApplication.translate