Define a minimum window size in the editor and project manager
This prevents most UI elements from overlapping or being cut off as a result of the window being too small. This closes #20669.
This commit is contained in:
@@ -2270,6 +2270,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
|
||||
|
||||
Reference in New Issue
Block a user