### 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
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);
						}
						if (!p_item->cells[i].editable) {
							break;
						}
						Point2i updown_pos = item_rect.position;
						updown_pos.x += item_rect.size.x - updown->get_width();
						updown_pos.y += Math::floor(((item_rect.size.y - updown->get_height())) / 2.0);
						updown->draw(ci, updown_pos);
					}
				} break;
				case TreeItem::CELL_MODE_ICON: {
					if (p_item->cells[i].icon.is_null()) {
						break;
					}
					Size2i icon_size = _get_cell_icon_size(p_item->cells[i]);
					Point2i icon_ofs = (item_rect.size - icon_size) / 2;
					icon_ofs += item_rect.position;
					draw_texture_rect(p_item->cells[i].icon, Rect2(icon_ofs, icon_size), false, icon_col);
				} break;
				case TreeItem::CELL_MODE_CUSTOM: {
					if (p_item->cells[i].custom_draw_obj.is_valid()) {
						Object *cdo = ObjectDB::get_instance(p_item->cells[i].custom_draw_obj);
						if (cdo) {
							cdo->call(p_item->cells[i].custom_draw_callback, p_item, Rect2(item_rect));
						}
					}
					if (!p_item->cells[i].editable) {