[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
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
10 changed files with 98 additions and 7 deletions

View file

@ -234,6 +234,8 @@ private:
Ref<Shortcut> debugger_stop_shortcut;
static int root_layout_direction;
protected:
virtual Rect2i _popup_adjust_rect() const { return Rect2i(); }
virtual void _post_popup() {}
@ -260,6 +262,8 @@ public:
NOTIFICATION_THEME_CHANGED = 32
};
static void set_root_layout_direction(int p_root_dir);
void set_title(const String &p_title);
String get_title() const;