This commit is contained in:
恍兮惚兮 2024-08-28 21:03:13 +08:00
parent 76bee2443a
commit 2ac73a5e80

View File

@ -1230,6 +1230,7 @@ class TranslatorWindow(resizableframeless):
height = self.height() - wh height = self.height() - wh
self.translate_text.resize(self.width(), int(height)) self.translate_text.resize(self.width(), int(height))
self.titlebar.move(0, 0) # 多显示屏下,谜之错位
if e.oldSize().width() != e.size().width(): if e.oldSize().width() != e.size().width():
self.titlebar.setFixedWidth(self.width()) self.titlebar.setFixedWidth(self.width())