mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
2ac73a5e80
commit
02a6a162b4
@ -872,6 +872,7 @@ class TranslatorWindow(resizableframeless):
|
||||
self.initvalues()
|
||||
self.initsignals()
|
||||
self.titlebar = ButtonBar(self)
|
||||
self.titlebar.move(0, 0) # 多显示屏下,谜之错位
|
||||
self.titlebar.setFixedHeight(int(globalconfig["buttonsize"] * 1.5))
|
||||
self.titlebar.setObjectName("titlebar")
|
||||
self.titlebar.setMouseTracking(True)
|
||||
@ -1230,7 +1231,6 @@ class TranslatorWindow(resizableframeless):
|
||||
height = self.height() - wh
|
||||
|
||||
self.translate_text.resize(self.width(), int(height))
|
||||
self.titlebar.move(0, 0) # 多显示屏下,谜之错位
|
||||
if e.oldSize().width() != e.size().width():
|
||||
self.titlebar.setFixedWidth(self.width())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user