This commit is contained in:
恍兮惚兮 2024-08-03 19:13:44 +08:00
parent aba63bf432
commit e8436fb74d

View File

@ -53,7 +53,7 @@ class ButtonX(QWidget):
def resizeEvent(self, e):
h = int(e.size().height() / 1.5)
self.setFixedWidth(self.height() * 2 / 1.5)
self.setFixedWidth(int(self.height() * 2 / 1.5))
self.setIconSize(QSize(h, h))