mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-05 21:37:56 +03:00
Update "Furious/Window/TextEditorWindow.py"
Signed-off-by: LorenEteval <loren.eteval@proton.me>
This commit is contained in:
committed by
Loren Eteval
parent
28f1ad874e
commit
cd5cb41088
@@ -76,6 +76,7 @@ class TextEditorWindow(AppQMainWindow):
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
self.customWindowTitle = ''
|
||||
|
||||
if PLATFORM == 'Darwin':
|
||||
# Window-modal child windows are rendered as macOS sheets
|
||||
# without traffic-light controls.
|
||||
@@ -90,6 +91,7 @@ class TextEditorWindow(AppQMainWindow):
|
||||
self.setWindowModality(QtCore.Qt.WindowModality.ApplicationModal)
|
||||
else:
|
||||
self.setWindowModality(QtCore.Qt.WindowModality.WindowModal)
|
||||
|
||||
self.setFixedSize(450, int(450 * GOLDEN_RATIO))
|
||||
|
||||
# Current editing index
|
||||
|
||||
Reference in New Issue
Block a user