turns out flax has a method for this
This commit is contained in:
@@ -161,7 +161,8 @@ namespace FlaxEditor.Windows.Search
|
||||
|
||||
// Setup
|
||||
_resultPanel.ScrollViewTo(Float2.Zero);
|
||||
_searchBox.SelectionRange = new TextRange(0, _searchBox.TextLength);
|
||||
// Select the text in the search bar so that the user can just start typing
|
||||
_searchBox.SelectAll();
|
||||
_searchBox.Focus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user