This commit is contained in:
恍兮惚兮 2024-07-19 22:49:52 +08:00
parent 9782360215
commit a30836c4d5

View File

@ -162,8 +162,8 @@ def selectllmcallback(self, countnum, btn, fanyi, name):
) )
if len(countnum) % 3 == 0: if len(countnum) % 3 == 0:
layout.addWidget(btn, layout.rowCount(), 0, 1, 1) layout.addWidget(btn, layout.rowCount(), 5 * 2, 1, 2)
layout.addWidget(self.btnquestion, layout.rowCount() - 1, 1, 1, 1) layout.addWidget(self.btnquestion, layout.rowCount() - 1, 5 * 2 + 2, 1, 2)
offset = 5 * (len(countnum) % 3) offset = 5 * (len(countnum) % 3)
layout.addWidget(name, layout.rowCount() - 2, offset + 0) layout.addWidget(name, layout.rowCount() - 2, offset + 0)
layout.addWidget(swc, layout.rowCount() - 2, offset + 1) layout.addWidget(swc, layout.rowCount() - 2, offset + 1)
@ -265,8 +265,9 @@ def initsome11(self, l, label=None, btnplus=False):
if btnplus: if btnplus:
grids.append( grids.append(
[ [
(functools.partial(createbtn, self, countnum), 1), ("", 10),
(functools.partial(createbtnquest, self), 1), (functools.partial(createbtn, self, countnum), 2),
(functools.partial(createbtnquest, self), 2),
] ]
) )