From b1371d6da03fccb8c7870dc387ef13cd955e6159 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 16 Nov 2024 23:07:23 +0100 Subject: [PATCH] Clarify Button's text clipping --- doc/classes/Button.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml index 5b3f86c9f57a..db5940d719dc 100644 --- a/doc/classes/Button.xml +++ b/doc/classes/Button.xml @@ -47,7 +47,7 @@ If set to something other than [constant TextServer.AUTOWRAP_OFF], the text gets wrapped inside the node's bounding rectangle. - 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. + 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. The text is clipped only horizontally, so Button's height is not affected. 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].