mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
.
This commit is contained in:
parent
0bb95eaabd
commit
8c58822c93
@ -52,7 +52,6 @@ class TextBrowser(QWidget, dataget):
|
||||
def contentchangedfunction(self):
|
||||
sz = self.textbrowser.document().size().toSize()
|
||||
self.textbrowser.resize(self.width(), sz.height())
|
||||
self.resize(self.width(), sz.height())
|
||||
self.contentsChanged.emit(QSize(sz.width(), sz.height()))
|
||||
|
||||
def resizeEvent(self, event: QResizeEvent):
|
||||
|
Loading…
x
Reference in New Issue
Block a user