summaryrefslogtreecommitdiff
path: root/doc/classes/Label.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Label.xml')
-rw-r--r--doc/classes/Label.xml19
1 files changed, 3 insertions, 16 deletions
diff --git a/doc/classes/Label.xml b/doc/classes/Label.xml
index bfc130634d..a84294f2c5 100644
--- a/doc/classes/Label.xml
+++ b/doc/classes/Label.xml
@@ -33,13 +33,6 @@
Returns the total length of the text.
</description>
</method>
- <method name="get_visible_characters" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Returns the restricted number of characters to display. Returns -1 if unrestricted.
- </description>
- </method>
<method name="get_visible_line_count" qualifiers="const">
<return type="int">
</return>
@@ -47,15 +40,6 @@
Returns the number of lines shown. Useful if the [code]Label[/code] 's height cannot currently display all lines.
</description>
</method>
- <method name="set_visible_characters">
- <return type="void">
- </return>
- <argument index="0" name="amount" type="int">
- </argument>
- <description>
- Restricts the number of characters to display. Set to -1 to disable.
- </description>
- </method>
</methods>
<members>
<member name="align" type="int" setter="set_align" getter="get_align" enum="Label.Align">
@@ -85,6 +69,9 @@
<member name="valign" type="int" setter="set_valign" getter="get_valign" enum="Label.VAlign">
Controls the text's vertical align. Supports top, center, bottom, and fill. Set it to one of the [code]VALIGN_*[/code] constants.
</member>
+ <member name="visible_characters" type="int" setter="set_visible_characters" getter="get_visible_characters">
+ Restricts the number of characters to display. Set to -1 to disable.
+ </member>
</members>
<constants>
<constant name="ALIGN_LEFT" value="0" enum="Align">