Make possible to change the ellipsis character in LinkButton

This commit is contained in:
Michael Alexsander 2025-10-30 17:32:15 -03:00
parent 250ef8dc32
commit 1a1967f989
No known key found for this signature in database
GPG key ID: A9C91EE110F4EABA
3 changed files with 34 additions and 0 deletions

View file

@ -55,6 +55,7 @@ private:
TextServer::StructuredTextParser st_parser = TextServer::STRUCTURED_TEXT_DEFAULT;
Array st_args;
TextServer::OverrunBehavior overrun_behavior = TextServer::OVERRUN_NO_TRIMMING;
String el_char = U"";
struct ThemeCache {
Ref<StyleBox> focus;
@ -92,6 +93,9 @@ public:
void set_text_overrun_behavior(TextServer::OverrunBehavior p_behavior);
TextServer::OverrunBehavior get_text_overrun_behavior() const;
void set_ellipsis_char(const String &p_char);
String get_ellipsis_char() const;
void set_structured_text_bidi_override(TextServer::StructuredTextParser p_parser);
TextServer::StructuredTextParser get_structured_text_bidi_override() const;