diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-06-14 10:11:37 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-08-08 22:35:47 +0300 |
commit | 7c3c5603d0a3208d6bee186f50857b15a02419d6 (patch) | |
tree | 8cb3e7dba7f9218988dcd02f31a21adf83c630f5 /scene/resources/text_line.h | |
parent | e010e05b3dd842ba86a68dee60e0d7be6f9aae50 (diff) | |
download | redot-engine-7c3c5603d0a3208d6bee186f50857b15a02419d6.tar.gz |
[Text Server] Improve object (image/table) inline alignment.
Diffstat (limited to 'scene/resources/text_line.h')
-rw-r--r-- | scene/resources/text_line.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/text_line.h b/scene/resources/text_line.h index 1b5c1a3123..b773bd05be 100644 --- a/scene/resources/text_line.h +++ b/scene/resources/text_line.h @@ -76,8 +76,8 @@ public: bool get_preserve_control() const; bool add_string(const String &p_text, const Ref<Font> &p_fonts, int p_size, const Dictionary &p_opentype_features = Dictionary(), const String &p_language = ""); - bool add_object(Variant p_key, const Size2 &p_size, VAlign p_inline_align = VALIGN_CENTER, int p_length = 1); - bool resize_object(Variant p_key, const Size2 &p_size, VAlign p_inline_align = VALIGN_CENTER); + bool add_object(Variant p_key, const Size2 &p_size, InlineAlign p_inline_align = INLINE_ALIGN_CENTER, int p_length = 1); + bool resize_object(Variant p_key, const Size2 &p_size, InlineAlign p_inline_align = INLINE_ALIGN_CENTER); void set_align(HAlign p_align); HAlign get_align() const; |