diff options
author | Andy Maloney <asmaloney@gmail.com> | 2022-08-17 18:08:09 -0400 |
---|---|---|
committer | Andy Maloney <asmaloney@gmail.com> | 2022-08-17 19:51:17 -0400 |
commit | 28e66882e59d51f69cc0b9786033f5570b08d114 (patch) | |
tree | 4212bbfba0243fa4fe580e10e8fa8a47031da3eb /doc/classes/Label.xml | |
parent | dbd15243621ec595742b18abc4c26f3cb2e00f3d (diff) | |
download | redot-engine-28e66882e59d51f69cc0b9786033f5570b08d114.tar.gz |
[doc] Fix grammar in class docs: amount vs. number
Number is used for things that can be counted (discrete items - think "integer" in this context).
Also fixes a couple of awkward phrases.
Diffstat (limited to 'doc/classes/Label.xml')
-rw-r--r-- | doc/classes/Label.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Label.xml b/doc/classes/Label.xml index 7353e4df9c..239eea099b 100644 --- a/doc/classes/Label.xml +++ b/doc/classes/Label.xml @@ -14,7 +14,7 @@ <method name="get_line_count" qualifiers="const"> <return type="int" /> <description> - Returns the amount of lines of text the Label has. + Returns the number of lines of text the Label has. </description> </method> <method name="get_line_height" qualifiers="const"> @@ -62,7 +62,7 @@ </member> <member name="mouse_filter" type="int" setter="set_mouse_filter" getter="get_mouse_filter" overrides="Control" enum="Control.MouseFilter" default="2" /> <member name="percent_visible" type="float" setter="set_percent_visible" getter="get_percent_visible" default="1.0"> - Limits the amount of visible characters. If you set [code]percent_visible[/code] to 0.5, only up to half of the text's characters will display on screen. Useful to animate the text in a dialog box. + Limits the number of visible characters. If you set [code]percent_visible[/code] to 0.5, only up to half of the text's characters will display on screen. Useful to animate the text in a dialog box. [b]Note:[/b] Setting this property updates [member visible_characters] based on current [method get_total_character_count]. </member> <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" overrides="Control" default="4" /> |