Max the label

This commit is contained in:
atse 2023-07-19 12:30:25 +08:00
parent 463ee4105c
commit 7749459701
2 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@
</property>
<property name="minimumSize">
<size>
<width>120</width>
<width>240</width>
<height>0</height>
</size>
</property>

View File

@ -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")