### Godot version

4.1.2

### System information

Godot v4.1.2.stable.mono - Windows 11 22h2 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.3742) - 11th Gen Intel(R) Core(TM) i5-11600K @ 3.90GHz (12 Threads)

### Issue description

in a right to left language (in my case Persian) the Ui gets inverted and i know it should be like that but you just cant work i will leave a screen shot so  you can see
![Screenshot 2023-11-16 042657](https://github.com/godotengine/godot/assets/118190096/76f0849d-945d-407b-b450-391c65c01f0e)


### Steps to reproduce

change the language to Persian

### Minimal reproduction project

N/A
label = memnew(Label(TTR("All Tags")));
		tag_vb->add_child(label);
		label->set_theme_type_variation("HeaderMedium");
		label->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
		label = memnew(Label(TTR("Click tag to add  to the project.")));
		tag_vb->add_child(label);
		label->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
		all_tags = memnew(HFlowContainer);
		tag_vb->add_child(all_tags);
		all_tags->set_custom_minimum_size(Vector2(0, 100) * EDSCALE);
		tag_ed_error = memnew(Label);
		tag_vb->add_child(tag_ed_error);
		tag_ed_error->set_autowrap_mode(TextServer::AUTOWRAP_WORD);
		create_tag_nfirmationDialog);
		tag_manage_dialog->add_child(create_tag_dialog);
		create_tag_dialog->set_tle(TTR("Create New Tag"));
		create_tag_dialog->get_ok_button()->connect("pressed", callable_mp(this, &ProjectManager::_create_new_tag));
		tag_vb = memnew(VBoxContainer);
		create_tag_dialog->add_child(tag_vb);
		Label *info = memnew(Label(TTR("Tags are capalized automatically when displayed.")));
		tag_vb->add_child(info);
		new_tag_name = memnew(LineEd);
		tag_vb->add_child(new_tag_name);
		new_tag_name->connect("text_changed", callable_mp(this, &ProjectManager::_set_new_tag_name));
		new_tag_name->connect("text_submted", callable_mp(this, &ProjectManager::_create_new_tag).unbind(1));
		create_tag_dialog->connect("about_to_popup", callable_mp(new_tag_name, &LineEd::clear));
		create_tag_dialog->connect("about_to_popup", callable_mp((Control *)new_tag_name, &Control::grab_focus), CONNECT_DEFERRED);
		tag_error = memnew(Label);
		tag_vb->add_child(tag_error);
		create_tag_btn = memnew(Button);