Merge branch 'dpi-scale-tool-windows' of git://github.com/stefnotch/FlaxEngine into stefnotch-dpi-scale-tool-windows

This commit is contained in:
Wojtek Figat
2021-03-31 23:54:02 +02:00

View File

@@ -59,7 +59,10 @@ namespace FlaxEditor.GUI.Docking
/// <summary>
/// Gets the default window size.
/// </summary>
public virtual Vector2 DefaultSize => new Vector2(900, 580);
/// <remarks>
/// Scaled by the DPI, because the window should be large enough for its content on every monitor
/// </remarks>
public virtual Vector2 DefaultSize => new Vector2(900, 580) * DpiScale;
/// <summary>
/// Gets the serialization typename.