mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-01-17 22:38:38 +01:00
Auto-focus the input field in the tag list
This commit is contained in:
parent
9f50249ca8
commit
7f0f9ad132
@ -31,6 +31,7 @@ TagsView::TagsView():
|
||||
tagInput->Appearance.HorizontalAlign = ui::Appearance::AlignLeft;
|
||||
tagInput->Appearance.VerticalAlign = ui::Appearance::AlignMiddle;
|
||||
AddComponent(tagInput);
|
||||
FocusComponent(tagInput);
|
||||
|
||||
addButton = new ui::Button(ui::Point(tagInput->Position.X+tagInput->Size.X+4, tagInput->Position.Y), ui::Point(40, 16), "Add");
|
||||
addButton->Appearance.icon = IconAdd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user