From ad4408d4134a17b9c74c9772ee1d29f463d9f4cb Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Sun, 5 Dec 2021 14:28:32 +0200
Subject: Add different "visible characters" behavior modes.
---
doc/classes/RichTextLabel.xml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
(limited to 'doc/classes/RichTextLabel.xml')
diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml
index a74b0ed812..2bc639e60a 100644
--- a/doc/classes/RichTextLabel.xml
+++ b/doc/classes/RichTextLabel.xml
@@ -429,6 +429,9 @@
The restricted number of characters to display in the label. If [code]-1[/code], all characters will be displayed.
[b]Note:[/b] Setting this property updates [member percent_visible] based on current [method get_total_character_count].
+
+ Sets the clipping behavior when [member visible_characters] or [member percent_visible] is set. See [enum VisibleCharactersBehavior] for more info.
+
@@ -527,6 +530,21 @@
+
+ Trims text before the shaping. e.g, increasing [member visible_characters] value is visually identical to typing the text.
+
+
+ Displays glyphs that are mapped to the first [member visible_characters] characters from the beginning of the text.
+
+
+ Displays [member percent_visible] glyphs, starting from the left or from the right, depending on [member Control.layout_direction] value.
+
+
+ Displays [member percent_visible] glyphs, starting from the left.
+
+
+ Displays [member percent_visible] glyphs, starting from the right.
+
--
cgit v1.2.3