[Editor] Add option to override editor UI layout direction.

This commit is contained in:
bruvzg
2023-11-17 08:54:07 +02:00
parent ad72de5083
commit 932174fedf
10 changed files with 98 additions and 7 deletions

View File

@ -2847,6 +2847,10 @@ ProjectManager::ProjectManager() {
AcceptDialog::set_swap_cancel_ok(swap_cancel_ok == 2);
}
int pm_root_dir = EDITOR_GET("interface/editor/ui_layout_direction");
Control::set_root_layout_direction(pm_root_dir);
Window::set_root_layout_direction(pm_root_dir);
EditorColorMap::create();
EditorTheme::initialize();
Ref<Theme> theme = create_custom_theme();