mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Make possible to change the ellipsis character in LinkButton
This commit is contained in:
parent
250ef8dc32
commit
1a1967f989
3 changed files with 34 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue