Use sensible window minimum size limits in editor windows

This commit is contained in:
2025-04-13 15:37:37 +03:00
parent 35072c40d8
commit a1ccbbb5b9
3 changed files with 3 additions and 2 deletions

View File

@@ -758,6 +758,7 @@ namespace FlaxEditor.Modules
var settings = CreateWindowSettings.Default;
settings.Title = "Flax Editor";
settings.Size = Platform.DesktopSize * 0.75f;
settings.MinimumSize = new Float2(200, 150);
settings.StartPosition = WindowStartPosition.CenterScreen;
settings.ShowAfterFirstPaint = true;
#if PLATFORM_WINDOWS