Add properties to configure space trimming on line break.
This commit is contained in:
parent
fde0616a0e
commit
2bbf0f2317
18 changed files with 171 additions and 30 deletions
|
|
@ -632,6 +632,9 @@
|
|||
<member name="autowrap_mode" type="int" setter="set_autowrap_mode" getter="get_autowrap_mode" enum="TextServer.AutowrapMode" default="3">
|
||||
If set to something other than [constant TextServer.AUTOWRAP_OFF], the text gets wrapped inside the node's bounding rectangle. To see how each mode behaves, see [enum TextServer.AutowrapMode].
|
||||
</member>
|
||||
<member name="autowrap_trim_flags" type="int" setter="set_autowrap_trim_flags" getter="get_autowrap_trim_flags" enum="TextServer.LineBreakFlag" is_bitfield="true" default="192">
|
||||
Autowrap space trimming flags. See [constant TextServer.BREAK_TRIM_START_EDGE_SPACES] and [constant TextServer.BREAK_TRIM_END_EDGE_SPACES] for more info.
|
||||
</member>
|
||||
<member name="bbcode_enabled" type="bool" setter="set_use_bbcode" getter="is_using_bbcode" default="false">
|
||||
If [code]true[/code], the label uses BBCode formatting.
|
||||
[b]Note:[/b] This only affects the contents of [member text], not the tag stack.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue