Adjust window size smaller for macbook

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2024-04-29 10:55:02 +08:00
parent bde558aa88
commit d0b617b587
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -321,7 +321,7 @@ class GuiEditorWidgetQDialog(GuiEditorItemFactory, AppQDialog):
self.setWindowModality(QtCore.Qt.WindowModality.WindowModal)
self.setFixedSize(
int(470 * GOLDEN_RATIO * GOLDEN_RATIO), int(470 * GOLDEN_RATIO)
int(450 * GOLDEN_RATIO * GOLDEN_RATIO), int(450 * GOLDEN_RATIO)
)
self.tabCentralWidget = QWidget()
+1 -1
View File
@@ -116,7 +116,7 @@ class TextEditorWindow(AppQMainWindow):
self.customWindowTitle = ''
self.setWindowModality(QtCore.Qt.WindowModality.ApplicationModal)
self.setFixedSize(470, int(470 * GOLDEN_RATIO))
self.setFixedSize(450, int(450 * GOLDEN_RATIO))
# Current editing index
self.currentIndex = -1