### 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
if (!p_item->cells[i].editable) {
							break;
						}
						Ref<Texture2D> downarrow = theme_cache.select_arrow;
						int cell_width = item_rect.size.x - downarrow->get_width();
						if (rtl) {
							if (outline_size > 0 && font_outline_color.a > 0) {
								p_item->cells[i].text_buf->draw_outline(ci, text_pos + Vector2(cell_width - text_width, 0), outline_size, font_outline_color);
							}
							p_item->cells[i].text_buf->draw(ci, text_pos + Vector2(cell_width - text_width, 0), cell_color);
						} else {
							if (outline_size > 0 && font_outline_color.a > 0) {
								p_item->cells[i].text_buf->draw_outline(ci, text_pos, outline_size, font_outline_color);
							}
							p_item->cells[i].text_buf->draw(ci, text_pos, cell_color);
						}
						Point2i arrow_pos = item_rect.position;
						arrow_pos.x += item_rect.size.x - downarrow->get_width();
						arrow_pos.y += Math::floor(((item_rect.size.y - downarrow->get_height())) / 2.0);
						downarrow->draw(ci, arrow_pos);
					} else {
						Ref<Texture2D> updown = theme_cache.updown;
						int cell_width = item_rect.size.x - updown->get_width();
						if (rtl) {
							if (outline_size > 0 && font_outline_color.a > 0) {
								p_item->cells[i].text_buf->draw_outline(ci, text_pos + Vector2(cell_width - text_width, 0), outline_size, font_outline_color);
							}
							p_item->cells[i].text_buf->draw(ci, text_pos + Vector2(cell_width - text_width, 0), cell_color);
						} else {
							if (outline_size > 0 && font_outline_color.a > 0) {