mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
int
This commit is contained in:
parent
aba63bf432
commit
e8436fb74d
@ -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))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user