From 774945970183d1886246ae02936184f686fa1351 Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 19 Jul 2023 12:30:25 +0800 Subject: [PATCH] Max the label --- pytec/tec_qt.ui | 2 +- pytec/ui_tec_qt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pytec/tec_qt.ui b/pytec/tec_qt.ui index 8430c9e..d1661dc 100644 --- a/pytec/tec_qt.ui +++ b/pytec/tec_qt.ui @@ -273,7 +273,7 @@ - 120 + 240 0 diff --git a/pytec/ui_tec_qt.py b/pytec/ui_tec_qt.py index 2576458..da0380f 100644 --- a/pytec/ui_tec_qt.py +++ b/pytec/ui_tec_qt.py @@ -131,7 +131,7 @@ class Ui_MainWindow(object): sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.status_lbl.sizePolicy().hasHeightForWidth()) self.status_lbl.setSizePolicy(sizePolicy) - self.status_lbl.setMinimumSize(QtCore.QSize(120, 0)) + self.status_lbl.setMinimumSize(QtCore.QSize(240, 0)) self.status_lbl.setMaximumSize(QtCore.QSize(120, 16777215)) self.status_lbl.setBaseSize(QtCore.QSize(120, 50)) self.status_lbl.setObjectName("status_lbl")