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…
Reference in New Issue
Block a user