### Godot version

4.1 Beta 3

### System information

Win10

### Issue description

In the Godot 4.1. Beta3 Scene Panel, node names are overlapping the icons to the right. Like visibility icons, script icons ...
Especially apparent with longer node names:

https://github.com/godotengine/godot/assets/47016402/61cc8c75-efe5-4cfa-ac4f-5fcd4805140b

This is _not_ an issue in Godot 4.0.3:

https://github.com/godotengine/godot/assets/47016402/4035ea3f-80bd-479d-9d6f-761debdd6b49



### Steps to reproduce

Give long node names and resize the Scene Panel

### Minimal reproduction project

N/A
size.width += text_size.width;
			size.height = MAX(size.height, text_size.height);
		}
		
		if (cell.mode == CELL_MODE_CHECK) {
			size.width += parent_tree->theme_cache.checked->get_width() + parent_tree->theme_cache.h_separation;
		}
		if (cell.icon.is_valid()) {
			Size2i icon_size = parent_tree->_get_cell_icon_size(cell);
			size.width += icon_size.width + parent_tree->theme_cache.h_separation;
			size.height = MAX(size.height, icon_size.height);
		}
		
		for (int i = 0; i < cell.buttons.size(); i++) {
			Ref<Texture2D> texture = cell.buttons[i].texture;
			if (texture.is_valid()) {
				Size2 button_size = texture->get_size() + parent_tree->theme_cache.button_pressed->get_minimum_size();
				size.width += button_size.width;
				size.height = MAX(size.height, button_size.height);
			}
		}
		if (cell.buttons.size() >= 2) {
			size.width += (cell.buttons.size() - 1) * parent_tree->theme_cache.button_margin;
		}
		cells.write[p_column].cached_minimum_size = size;
		cells.write[p_column].cached_minimum_size_dirty = false;
	}
	return cell.cached_minimum_size;
}
void TreeItem::_call_recursive_bind(const Variant **p_args, int p_argcount, Callable::CallError &r_error) {