diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-16 16:52:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 16:52:48 +0200 |
commit | 2aec92412f39367d2e720544530963707522e510 (patch) | |
tree | da7986667a303752dae3ba1471910442a5ce3984 /scene/gui/button.h | |
parent | 639d72735c2e9bfff013029e3c797a2102797e82 (diff) | |
parent | b5c96df2771113cd9c5cb24b07b199a08a8ad917 (diff) |
Merge pull request #62066 from bruvzg/cleanup_ts_enums
Diffstat (limited to 'scene/gui/button.h')
-rw-r--r-- | scene/gui/button.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/button.h b/scene/gui/button.h index 175785a35c..a1d71195cb 100644 --- a/scene/gui/button.h +++ b/scene/gui/button.h @@ -46,7 +46,7 @@ private: Dictionary opentype_features; String language; TextDirection text_direction = TEXT_DIRECTION_AUTO; - TextParagraph::OverrunBehavior overrun_behavior = TextParagraph::OVERRUN_NO_TRIMMING; + TextServer::OverrunBehavior overrun_behavior = TextServer::OVERRUN_NO_TRIMMING; Ref<Texture2D> icon; bool expand_icon = false; @@ -72,8 +72,8 @@ public: void set_text(const String &p_text); String get_text() const; - void set_text_overrun_behavior(TextParagraph::OverrunBehavior p_behavior); - TextParagraph::OverrunBehavior get_text_overrun_behavior() const; + void set_text_overrun_behavior(TextServer::OverrunBehavior p_behavior); + TextServer::OverrunBehavior get_text_overrun_behavior() const; void set_text_direction(TextDirection p_text_direction); TextDirection get_text_direction() const; |