mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 12:43:43 +00:00
Clarify Button's text clipping
This commit is contained in:
parent
5efd124ca1
commit
ce512d3eea
@ -47,7 +47,7 @@
|
||||
If set to something other than [constant TextServer.AUTOWRAP_OFF], the text gets wrapped inside the node's bounding rectangle.
|
||||
</member>
|
||||
<member name="clip_text" type="bool" setter="set_clip_text" getter="get_clip_text" default="false">
|
||||
When this property is enabled, text that is too large to fit the button is clipped, when disabled the Button will always be wide enough to hold the text.
|
||||
If [code]true[/code], text that is too large to fit the button is clipped horizontally. If [code]false[/code], the button will always be wide enough to hold the text. The text is not vertically clipped, and the button's height is not affected by this property.
|
||||
</member>
|
||||
<member name="expand_icon" type="bool" setter="set_expand_icon" getter="is_expand_icon" default="false">
|
||||
When enabled, the button's icon will expand/shrink to fit the button's size while keeping its aspect. See also [theme_item icon_max_width].
|
||||
|
Loading…
Reference in New Issue
Block a user