mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Update docs
[ci skip]
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user