### 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
text_buf.instantiate();
		}
		Size2 get_icon_size() const;
		void draw_icon(const RID &p_where, const Point2 &p_pos, const Size2 &p_size = Size2(), const Color &p_color = Color()) const;
	};
	Vector<Cell> cells;
	bool collapsed = false; 
	bool visible = true;
	bool disable_folding = false;
	int custom_min_height = 0;
	TreeItem *parent = nullptr; 
	TreeItem *prev = nullptr; 
	TreeItem *next = nullptr; 
	TreeItem *first_child = nullptr;
	Vector<TreeItem *> children_cache;
	bool is_root = false; 
	Tree *tree = nullptr; 
	TreeItem(Tree *p_tree);
	void _changed_notify(int p_cell);
	void _changed_notify();
	void _cell_selected(int p_cell);
	void _cell_deselected(int p_cell);
	void _change_tree(Tree *p_tree);
	_FORCE_INLINE_ void _create_children_cache() {