### 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
search_box->set_placeholder(TTR("Filter Projects"));
		search_box->set_tooltip_text(TTR("This field filters projects by name and last path component.\nTo filter projects by name and full path, the query must contain at least one `/` character."));
		search_box->set_clear_button_enabled(true);
		search_box->connect("text_changed", callable_mp(this, &ProjectManager::_on_search_term_changed));
		search_box->connect("text_submted", callable_mp(this, &ProjectManager::_on_search_term_submted));
		search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL);
		hb->add_child(search_box);
		Label *sort_label = memnew(Label);
		sort_label->set_text(TTR("Sort:"));
		hb->add_child(sort_label);
		filter_option = memnew(OptionButton);
		filter_option->set_clip_text(true);
		filter_option->set_h_size_flags(Control::SIZE_EXPAND_FILL);
		filter_option->set_stretch_ratio(0.3);
		filter_option->connect("em_selected", callable_mp(this, &ProjectManager::_on_order_option_changed));
		hb->add_child(filter_option);
		Vector<String> sort_filter_tles;
		sort_filter_tles.push_back(TTR("Last Eded"));
		sort_filter_tles.push_back(TTR("Name"));
		sort_filter_tles.push_back(TTR("Path"));
		sort_filter_tles.push_back(TTR("Tags"));
		for (int i = 0; i < sort_filter_tles.size(); i++) {
			filter_option->add_em(sort_filter_tles[i]);
		}
	}
	{
		// A container for the project list and for the side bar wh buttons.
		HBoxContainer *search_tree_hb = memnew(HBoxContainer);
		local_projects_vb->add_child(search_tree_hb);
		search_tree_hb->set_v_size_flags(Control::SIZE_EXPAND_FILL);