1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00

Refactor Bottom Panel to be a TabContainer

This commit is contained in:
Logan Detrick
2025-07-07 17:09:23 -07:00
parent 250ef8dc32
commit e2caff9a06
18 changed files with 272 additions and 358 deletions

View File

@@ -4160,13 +4160,8 @@ void ScriptEditor::_start_find_in_files(bool with_replace) {
find_in_files->set_replace_text(find_in_files_dialog->get_replace_text());
find_in_files->start_search();
if (find_in_files_button->get_index() != find_in_files_button->get_parent()->get_child_count()) {
find_in_files_button->get_parent()->move_child(find_in_files_button, -1);
}
if (!find_in_files_button->is_visible()) {
find_in_files_button->show();
}
EditorNode::get_bottom_panel()->move_item_to_end(find_in_files);
find_in_files_button->show();
EditorNode::get_bottom_panel()->make_item_visible(find_in_files);
}