Skip to content

Commit

Permalink
Adjust window size smaller for macbook
Browse files Browse the repository at this point in the history
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
  • Loading branch information
LorenEteval committed Apr 29, 2024
1 parent bde558a commit d0b617b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Furious/QtFramework/GuiEditorXXX.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def __init__(self, *args, **kwargs):

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()
Expand Down
2 changes: 1 addition & 1 deletion Furious/Window/TextEditorWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __init__(self, *args, **kwargs):

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
Expand Down

0 comments on commit d0b617b

Please sign in to comment.