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

@@ -381,6 +381,8 @@ namespace FlaxEngine.GUI
public Dropdown()
: base(0, 0, 120, 18.0f)
{
AutoFocus = true;
var style = Style.Current;
Font = new FontReference(style.FontMedium);
TextColor = style.Foreground;