### Godot version

v4.1.stable.official [970459615]  < Steam

### System information

Godot v4.1.stable - Debian GNU/Linux trixie/sid trixie - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1060 (nvidia) - Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (6 Threads)

### Issue description

After Godot got upgraded 4.0 -> 4.1, when opening a project from the earlier version, I noticed that the buttons in the confirmation dialog look a bit squiffy:

![Screenshot_20230706_123457](https://github.com/godotengine/godot/assets/441188/eb5dc8e3-9941-4cac-8cb8-17167d1f33bf)

(Somewhat aside, but that dialog should probably be able to deduce and be more precise about whether it's an upgrade or downgrade!)

### Steps to reproduce

1. Have a project from Godot 4.0
2. Upgrade Godot to 4.1
3. Open project manager

Alternatively:
1. Create a new project in 4.1
2. Quit Godot
3. Edit the `project.godot`'s `config/features` to read `4.0` instead of `4.1`
4. Open project manager

### Minimal reproduction project

[default.zip](https://github.com/godotengine/godot/files/11967512/default.zip)

close_on_escape = p_hide;
}
bool AcceptDialog::get_close_on_escape() const {
	return close_on_escape;
}
void AcceptDialog::set_autowrap(bool p_autowrap) {
	message_label->set_autowrap_mode(p_autowrap ? TextServer::AUTOWRAP_WORD : TextServer::AUTOWRAP_OFF);
}
bool AcceptDialog::has_autowrap() {
	return message_label->get_autowrap_mode() != TextServer::AUTOWRAP_OFF;
}
void AcceptDialog::set_ok_button_text(String p_ok_button_text) {
	ok_button->set_text(p_ok_button_text);
	child_controls_changed();
	if (is_visible()) {
		_update_child_rects();
	}
}
String AcceptDialog::get_ok_button_text() const {
	return ok_button->get_text();
}
void AcceptDialog::register_text_enter(Control *p_line_edit) {
	ERR_FAIL_NULL(p_line_edit);
	LineEdit *line_edit = Object::cast_to<LineEdit>(p_line_edit);
	if (line_edit) {
		line_edit->connect("text_submitted", callable_mp(this, &AcceptDialog::_text_submitted));
	}
}
void AcceptDialog::_update_child_rects() {