Fix AutoFocus on ContainerControl to be false by default

This commit is contained in:
Wojtek Figat
2025-07-15 12:33:33 +02:00
parent c0cce748cc
commit 9646dd3fc2
13 changed files with 24 additions and 3 deletions

View File

@@ -38,6 +38,7 @@ namespace FlaxEngine.GUI
public ContainerControl()
{
_isLayoutLocked = true;
AutoFocus = false;
}
/// <summary>
@@ -47,6 +48,7 @@ namespace FlaxEngine.GUI
: base(x, y, width, height)
{
_isLayoutLocked = true;
AutoFocus = false;
}
/// <summary>
@@ -56,6 +58,7 @@ namespace FlaxEngine.GUI
: base(location, size)
{
_isLayoutLocked = true;
AutoFocus = false;
}
/// <inheritdoc />
@@ -63,6 +66,7 @@ namespace FlaxEngine.GUI
: base(bounds)
{
_isLayoutLocked = true;
AutoFocus = false;
}
/// <summary>