### 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
EdorFileDialog::get_icon_func = &ProjectManager::_file_dialog_get_icon;
		EdorFileDialog::get_thumbnail_func = &ProjectManager::_file_dialog_get_thumbnail;
	}
	// TRANSLATORS: This refers to the application where users manage their Godot projects.
	DisplayServer::get_singleton()->window_set_tle(VERSION_NAME + String(" - ") + TTR("Project Manager", "Application"));
	EdorFileDialog::set_default_show_hidden_files(EDITOR_GET("filesystem/file_dialog/show_hidden_files"));
	EdorFileDialog::set_default_display_mode((EdorFileDialog::DisplayMode)EDITOR_GET("filesystem/file_dialog/display_mode").operator int());
	int swap_cancel_ok = EDITOR_GET("interface/edor/accept_dialog_cancel_ok_buttons");
	if (swap_cancel_ok != 0) { // 0 is auto, set in register_scene based on DisplayServer.
		// Swap on means OK first.
		Acc_ok(swap_cancel_ok == 2);
	}
	EdorColorMap::create();
	EdorTheme::inialize();
	Ref<Theme> theme = create_custom_theme();
	DisplayServer::set_early_window_clear_color_override(true, theme->get_color(SNAME("background"), EdorStringName(Edor)));
	set_theme(theme);
	set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
	background_panel = memnew(Panel);
	add_child(background_panel);
	background_panel->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
	VBoxContainer *vb = memnew(VBoxContainer);
	background_panel->add_child(vb);
	vb->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT, Control::PRESET_MODE_MINSIZE, 8 * EDSCALE);
	Control *center_box = memnew(Control);
	center_box->set_v_size_flags(Control::SIZE_EXPAND_FILL);
	vb->add_child(center_box);
	tabs = memnew(TabContainer);
	center_box->add_child(tabs);
	tabs->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);