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
|
|
@ -852,21 +852,21 @@ void DockContextPopup::_notification(int p_what) {
|
|||
switch (p_what) {
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
if (make_float_button) {
|
||||
make_float_button->set_icon(get_editor_theme_icon(SNAME("MakeFloating")));
|
||||
make_float_button->set_button_icon(get_editor_theme_icon(SNAME("MakeFloating")));
|
||||
}
|
||||
if (is_layout_rtl()) {
|
||||
tab_move_left_button->set_icon(get_editor_theme_icon(SNAME("Forward")));
|
||||
tab_move_right_button->set_icon(get_editor_theme_icon(SNAME("Back")));
|
||||
tab_move_left_button->set_button_icon(get_editor_theme_icon(SNAME("Forward")));
|
||||
tab_move_right_button->set_button_icon(get_editor_theme_icon(SNAME("Back")));
|
||||
tab_move_left_button->set_tooltip_text(TTR("Move this dock right one tab."));
|
||||
tab_move_right_button->set_tooltip_text(TTR("Move this dock left one tab."));
|
||||
} else {
|
||||
tab_move_left_button->set_icon(get_editor_theme_icon(SNAME("Back")));
|
||||
tab_move_right_button->set_icon(get_editor_theme_icon(SNAME("Forward")));
|
||||
tab_move_left_button->set_button_icon(get_editor_theme_icon(SNAME("Back")));
|
||||
tab_move_right_button->set_button_icon(get_editor_theme_icon(SNAME("Forward")));
|
||||
tab_move_left_button->set_tooltip_text(TTR("Move this dock left one tab."));
|
||||
tab_move_right_button->set_tooltip_text(TTR("Move this dock right one tab."));
|
||||
}
|
||||
dock_to_bottom_button->set_icon(get_editor_theme_icon(SNAME("ControlAlignBottomWide")));
|
||||
close_button->set_icon(get_editor_theme_icon(SNAME("Close")));
|
||||
dock_to_bottom_button->set_button_icon(get_editor_theme_icon(SNAME("ControlAlignBottomWide")));
|
||||
close_button->set_button_icon(get_editor_theme_icon(SNAME("Close")));
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue