From 7385c3602da3dc95bc8bb6fa248c7fcc323f1ac1 Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Mon, 21 Feb 2022 19:34:16 +0200
Subject: Add RichTextLabel "hint" tag.
---
doc/classes/CanvasItem.xml | 11 +++++++++++
doc/classes/RichTextLabel.xml | 16 ++++++++++++++--
2 files changed, 25 insertions(+), 2 deletions(-)
(limited to 'doc')
diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml
index d71762801c..367eff938c 100644
--- a/doc/classes/CanvasItem.xml
+++ b/doc/classes/CanvasItem.xml
@@ -80,6 +80,17 @@
Draws a colored polygon of any amount of points, convex or concave. Unlike [method draw_polygon], a single color must be specified for the whole polygon.
+
+
+
+
+
+
+
+
+ Draws a dashed line from a 2D point to another, with a given color and width. See also [method draw_multiline] and [method draw_polyline].
+
+
diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml
index f480071d32..87bfb97fd3 100644
--- a/doc/classes/RichTextLabel.xml
+++ b/doc/classes/RichTextLabel.xml
@@ -256,6 +256,13 @@
Adds a [code][font_size][/code] tag to the tag stack. Overrides default font size for its duration.
+
+
+
+
+ Adds a [code][hint][/code] tag to the tag stack. Same as BBCode [code][hint=something]{text}[/hint][/code].
+
+
@@ -423,6 +430,9 @@
If [code]true[/code], the label's height will be automatically updated to fit its content.
[b]Note:[/b] This property is used as a workaround to fix issues with [RichTextLabel] in [Container]s, but it's unreliable in some cases and will be removed in future versions.
+
+ If [code]true[/code], the label underlines hint tags such as [code][hint=description]{text}[/hint][/code].
+
Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead.
@@ -563,9 +573,11 @@
-
+
+
+
-
+
Trims text before the shaping. e.g, increasing [member visible_characters] value is visually identical to typing the text.
--
cgit v1.2.3