### Godot version

v4.0.beta10.official [d0398f62f]

### System information

Windows 22H2, Compatibility, GeForce GTX 550 Ti

### Issue description

Text is unreadable because they are overlapping, when choosing: `Make Sub-Resources Unique`
and a window opens with the title: `Please Confirm...`

![Godot_v4 0-beta10_win64_AGUf5VA2N9](https://user-images.githubusercontent.com/13420573/211038230-2e626a08-f1b1-43ee-8ba5-df19f7a69626.png)


### Steps to reproduce

- start godot
- in the Scene panel, click on `2D Scene`
- in the Inspector, near the top right
- click on the icon with a screwdriver and a wrench
it's mouse over tooltip says: `Manage object properties.`
- click on the bottom choice: `Make Sub-Resources Unique`
A window opens with the title: `Please Confirm...`

### Expected
The first line of text should be readable.


### Observed
The first line is unreadable, two or more texts are overlapping.

### Minimal reproduction project

N/A
Ref<Resource> r = EditorSettings::get_singleton()->get_resource_clipboard();
	PopupMenu *popup = resource_extra_button->get_popup();
	popup->set_item_disabled(popup->get_item_index(RESOURCE_EDIT_CLIPBOARD), r.is_null());
}
void InspectorDock::_prepare_history() {
	EditorSelectionHistory *editor_history = EditorNode::get_singleton()->get_editor_selection_history();
	int history_to = MAX(0, editor_history->get_history_len() - 25);
	history_menu->get_popup()->clear();
	HashSet<ObjectID> already;
	for (int i = editor_history->get_history_len() - 1; i >= history_to; i--) {
		ObjectID id = editor_history->get_history_obj(i);
		Object *obj = ObjectDB::get_instance(id);
		if (!obj || already.has(id)) {
			if (history_to > 0) {
				history_to--;
			}
			continue;
		}
		already.insert(id);
		Ref<Texture2D> icon = EditorNode::get_singleton()->get_object_icon(obj, "Object");
		String text;
		if (obj->has_method("_get_editor_name")) {
			text = obj->call("_get_editor_name");
		} else if (Object::cast_to<Resource>(obj)) {
			Resource *r = Object::cast_to<Resource>(obj);