diff --git a/pytec/tec_qt.ui b/pytec/tec_qt.ui index 521780d..1306beb 100644 --- a/pytec/tec_qt.ui +++ b/pytec/tec_qt.ui @@ -312,6 +312,19 @@ + + + + Qt::Horizontal + + + + 40 + 20 + + + + diff --git a/pytec/ui_tec_qt.py b/pytec/ui_tec_qt.py index 026986f..10fe02e 100644 --- a/pytec/ui_tec_qt.py +++ b/pytec/ui_tec_qt.py @@ -143,6 +143,8 @@ class Ui_MainWindow(object): self.thermostat_settings.setPopupMode(QtWidgets.QToolButton.ToolButtonPopupMode.InstantPopup) self.thermostat_settings.setObjectName("thermostat_settings") self.settings_layout.addWidget(self.thermostat_settings) + spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) + self.settings_layout.addItem(spacerItem) self.report_group = QtWidgets.QWidget(parent=self.bottom_settings_group) self.report_group.setEnabled(False) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)