mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 09:23:40 +00:00
Add clear text button to LineEdit
- Add pressed state to clear button - Enable clear button on all inputs with search icon - Remove duplicate clear buttons - Fix rendering of icon for center and right alignments - Add clear button to more search fields - Add clear icon to default theme - Add method to control enabled state of clear button - Add property to enable clear button from inspector
This commit is contained in:
parent
0fc1c4eda8
commit
e8a435c8cd
23 changed files with 250 additions and 194 deletions
|
@ -3033,6 +3033,7 @@ void VisualScriptEditor::_notification(int p_what) {
|
|||
|
||||
if (p_what == NOTIFICATION_READY) {
|
||||
node_filter->add_icon_override("right_icon", Control::get_icon("Search", "EditorIcons"));
|
||||
node_filter->set_clear_button_enabled(true);
|
||||
variable_editor->connect("changed", this, "_update_members");
|
||||
signal_editor->connect("changed", this, "_update_members");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue