diff options
Diffstat (limited to 'editor/project_manager.cpp')
| -rw-r--r-- | editor/project_manager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 567e36a4c2..a418773131 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -2276,6 +2276,9 @@ ProjectManager::ProjectManager() { } break; } + // Define a minimum window size to prevent UI elements from overlapping or being cut off + OS::get_singleton()->set_min_window_size(Size2(750, 420) * EDSCALE); + #ifndef OSX_ENABLED // The macOS platform implementation uses its own hiDPI window resizing code // TODO: Resize windows on hiDPI displays on Windows and Linux and remove the line below |
