mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 11:14:17 +00:00
Rename internal Button icon to button_icon to match exposed methods
This commit is contained in:
parent
0debc73dc6
commit
562c666e3d
129 changed files with 718 additions and 718 deletions
|
|
@ -1780,18 +1780,18 @@ void ScriptEditor::_notification(int p_what) {
|
|||
case NOTIFICATION_THEME_CHANGED: {
|
||||
tab_container->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SNAME("ScriptEditor"), EditorStringName(EditorStyles)));
|
||||
|
||||
help_search->set_icon(get_editor_theme_icon(SNAME("HelpSearch")));
|
||||
site_search->set_icon(get_editor_theme_icon(SNAME("ExternalLink")));
|
||||
help_search->set_button_icon(get_editor_theme_icon(SNAME("HelpSearch")));
|
||||
site_search->set_button_icon(get_editor_theme_icon(SNAME("ExternalLink")));
|
||||
|
||||
if (is_layout_rtl()) {
|
||||
script_forward->set_icon(get_editor_theme_icon(SNAME("Back")));
|
||||
script_back->set_icon(get_editor_theme_icon(SNAME("Forward")));
|
||||
script_forward->set_button_icon(get_editor_theme_icon(SNAME("Back")));
|
||||
script_back->set_button_icon(get_editor_theme_icon(SNAME("Forward")));
|
||||
} else {
|
||||
script_forward->set_icon(get_editor_theme_icon(SNAME("Forward")));
|
||||
script_back->set_icon(get_editor_theme_icon(SNAME("Back")));
|
||||
script_forward->set_button_icon(get_editor_theme_icon(SNAME("Forward")));
|
||||
script_back->set_button_icon(get_editor_theme_icon(SNAME("Back")));
|
||||
}
|
||||
|
||||
members_overview_alphabeta_sort_button->set_icon(get_editor_theme_icon(SNAME("Sort")));
|
||||
members_overview_alphabeta_sort_button->set_button_icon(get_editor_theme_icon(SNAME("Sort")));
|
||||
|
||||
filter_scripts->set_right_icon(get_editor_theme_icon(SNAME("Search")));
|
||||
filter_methods->set_right_icon(get_editor_theme_icon(SNAME("Search")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue