From 2337d825c13861e0bc9384c9b83656e269b3997b Mon Sep 17 00:00:00 2001 From: Ninni Pipping Date: Wed, 7 Jun 2023 11:35:20 +0200 Subject: [PATCH] Clarify use of size flags in `Control` (cherry picked from commit 6146c60cf82b2fc68603ed772a7b1b8023d7ee34) --- doc/classes/Control.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index 95a766c5376..079b134187f 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -1020,13 +1020,13 @@ The size of the node's bounding rectangle, in the node's coordinate system. [Container] nodes update this property automatically. - Tells the parent [Container] nodes how they should resize and place the node on the X axis. Use one of the [enum SizeFlags] constants to change the flags. See the constants to learn what each does. + Tells the parent [Container] nodes how they should resize and place the node on the X axis. Use a combination of the [enum SizeFlags] constants to change the flags. See the constants to learn what each does. If the node and at least one of its neighbors uses the [constant SIZE_EXPAND] size flag, the parent [Container] will let it take more or less space depending on this property. If this node has a stretch ratio of 2 and its neighbor a ratio of 1, this node will take two thirds of the available space. - Tells the parent [Container] nodes how they should resize and place the node on the Y axis. Use one of the [enum SizeFlags] constants to change the flags. See the constants to learn what each does. + Tells the parent [Container] nodes how they should resize and place the node on the Y axis. Use a combination of the [enum SizeFlags] constants to change the flags. See the constants to learn what each does. The [Theme] resource this node and all its [Control] and [Window] children use. If a child node has its own [Theme] resource set, theme items are merged with child's definitions having higher priority.