From f63d54126d6874c9048a1bb652d2a6749758420c Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Fri, 17 Jun 2022 11:05:18 +0300
Subject: Add LabelSettings resource for quick Label theme property override.
---
doc/classes/Label.xml | 3 +++
doc/classes/LabelSettings.xml | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
create mode 100644 doc/classes/LabelSettings.xml
(limited to 'doc/classes')
diff --git a/doc/classes/Label.xml b/doc/classes/Label.xml
index 1eac58b9f2..8448109f02 100644
--- a/doc/classes/Label.xml
+++ b/doc/classes/Label.xml
@@ -49,6 +49,9 @@
Controls the text's horizontal alignment. Supports left, center, right, and fill, or justify. Set it to one of the [enum HorizontalAlignment] constants.
+
+ Resource to override [Theme] font, outline and shadow properties.
+
Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead.
diff --git a/doc/classes/LabelSettings.xml b/doc/classes/LabelSettings.xml
new file mode 100644
index 0000000000..5f7427f4aa
--- /dev/null
+++ b/doc/classes/LabelSettings.xml
@@ -0,0 +1,39 @@
+
+
+
+ Resource to override [Theme] font, outline and shadow properties of the [Label].
+
+
+
+
+
+
+
+ [Font] of the [Label]'s text.
+
+
+ Default text [Color] of the [Label].
+
+
+ Font size of the [Label]'s text.
+
+
+ Vertical space between lines in multiline text.
+
+
+ The tint of text outline.
+
+
+ Text outline size.
+
+
+ The tint of text shadow.
+
+
+ The offset of the text's shadow.
+
+
+ The size of the text's shadow.
+
+
+
--
cgit v1.2.3