mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-03 04:17:58 +03:00
Adjust window size smaller for macbook
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user