@@ -57,6 +57,8 @@ def setupUi(self, Form):
5757 sizePolicy .setVerticalStretch (0 )
5858 sizePolicy .setHeightForWidth (self .comboBox_gamemode .sizePolicy ().hasHeightForWidth ())
5959 self .comboBox_gamemode .setSizePolicy (sizePolicy )
60+ self .comboBox_gamemode .setMinimumSize (QtCore .QSize (0 , 32 ))
61+ self .comboBox_gamemode .setMaximumSize (QtCore .QSize (16777215 , 32 ))
6062 font = QtGui .QFont ()
6163 font .setFamily ("微软雅黑" )
6264 font .setPointSize (12 )
@@ -103,8 +105,8 @@ def setupUi(self, Form):
103105 sizePolicy .setVerticalStretch (0 )
104106 sizePolicy .setHeightForWidth (self .spinBox_pixsize .sizePolicy ().hasHeightForWidth ())
105107 self .spinBox_pixsize .setSizePolicy (sizePolicy )
106- self .spinBox_pixsize .setMinimumSize (QtCore .QSize (130 , 0 ))
107- self .spinBox_pixsize .setMaximumSize (QtCore .QSize (16777215 , 16777215 ))
108+ self .spinBox_pixsize .setMinimumSize (QtCore .QSize (130 , 32 ))
109+ self .spinBox_pixsize .setMaximumSize (QtCore .QSize (16777215 , 32 ))
108110 font = QtGui .QFont ()
109111 font .setFamily ("微软雅黑" )
110112 font .setPointSize (12 )
@@ -224,6 +226,8 @@ def setupUi(self, Form):
224226 self .verticalLayout_4 .setSpacing (5 )
225227 self .verticalLayout_4 .setObjectName ("verticalLayout_4" )
226228 self .lineEdit_label = QtWidgets .QLineEdit (self .frame_3 )
229+ self .lineEdit_label .setMinimumSize (QtCore .QSize (0 , 33 ))
230+ self .lineEdit_label .setMaximumSize (QtCore .QSize (16777215 , 33 ))
227231 font = QtGui .QFont ()
228232 font .setFamily ("微软雅黑" )
229233 font .setPointSize (12 )
@@ -244,6 +248,8 @@ def setupUi(self, Form):
244248 self .lineEdit_label .setObjectName ("lineEdit_label" )
245249 self .verticalLayout_4 .addWidget (self .lineEdit_label )
246250 self .lineEdit_unique_label = QtWidgets .QLineEdit (self .frame_3 )
251+ self .lineEdit_unique_label .setMinimumSize (QtCore .QSize (0 , 33 ))
252+ self .lineEdit_unique_label .setMaximumSize (QtCore .QSize (16777215 , 33 ))
247253 font = QtGui .QFont ()
248254 font .setFamily ("微软雅黑" )
249255 font .setPointSize (12 )
@@ -264,6 +270,8 @@ def setupUi(self, Form):
264270 self .lineEdit_unique_label .setObjectName ("lineEdit_unique_label" )
265271 self .verticalLayout_4 .addWidget (self .lineEdit_unique_label )
266272 self .lineEdit_race_label = QtWidgets .QLineEdit (self .frame_3 )
273+ self .lineEdit_race_label .setMinimumSize (QtCore .QSize (0 , 33 ))
274+ self .lineEdit_race_label .setMaximumSize (QtCore .QSize (16777215 , 33 ))
267275 font = QtGui .QFont ()
268276 font .setFamily ("微软雅黑" )
269277 font .setPointSize (12 )
@@ -428,7 +436,8 @@ def setupUi(self, Form):
428436 sizePolicy .setVerticalStretch (0 )
429437 sizePolicy .setHeightForWidth (self .spinBox_auto_replay .sizePolicy ().hasHeightForWidth ())
430438 self .spinBox_auto_replay .setSizePolicy (sizePolicy )
431- self .spinBox_auto_replay .setMinimumSize (QtCore .QSize (130 , 0 ))
439+ self .spinBox_auto_replay .setMinimumSize (QtCore .QSize (130 , 32 ))
440+ self .spinBox_auto_replay .setMaximumSize (QtCore .QSize (16777215 , 32 ))
432441 font = QtGui .QFont ()
433442 font .setFamily ("微软雅黑" )
434443 font .setPointSize (12 )
@@ -500,6 +509,8 @@ def setupUi(self, Form):
500509 self .label_constraint .setObjectName ("label_constraint" )
501510 self .horizontalLayout .addWidget (self .label_constraint )
502511 self .lineEdit_constraint = QtWidgets .QLineEdit (self .widget_5 )
512+ self .lineEdit_constraint .setMinimumSize (QtCore .QSize (0 , 32 ))
513+ self .lineEdit_constraint .setMaximumSize (QtCore .QSize (16777215 , 32 ))
503514 font = QtGui .QFont ()
504515 font .setFamily ("微软雅黑" )
505516 font .setPointSize (12 )
@@ -542,7 +553,8 @@ def setupUi(self, Form):
542553 sizePolicy .setVerticalStretch (0 )
543554 sizePolicy .setHeightForWidth (self .spinBox_attempt_times_limit .sizePolicy ().hasHeightForWidth ())
544555 self .spinBox_attempt_times_limit .setSizePolicy (sizePolicy )
545- self .spinBox_attempt_times_limit .setMinimumSize (QtCore .QSize (130 , 0 ))
556+ self .spinBox_attempt_times_limit .setMinimumSize (QtCore .QSize (130 , 32 ))
557+ self .spinBox_attempt_times_limit .setMaximumSize (QtCore .QSize (16777215 , 32 ))
546558 font = QtGui .QFont ()
547559 font .setFamily ("微软雅黑" )
548560 font .setPointSize (12 )
0 commit comments