diff options
author | Gamemap <71942164+Gamemap@users.noreply.github.com> | 2024-06-17 17:58:59 +0200 |
---|---|---|
committer | Gamemap <71942164+Gamemap@users.noreply.github.com> | 2024-10-04 08:43:13 +0200 |
commit | 1e1dbd8e3a16eb3fee2b50a5aead4c2e14b45f6a (patch) | |
tree | 399037602d03072a65435d3130f5cbbfb3018784 /doc | |
parent | 5ccbf6e4c794a4e47456edd9434b75fcd6096a2f (diff) | |
download | redot-engine-1e1dbd8e3a16eb3fee2b50a5aead4c2e14b45f6a.tar.gz |
Add `Auto width` behavior to ItemList
Co-authored-by: Craig Hupin <althar93@hotmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/ItemList.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/ItemList.xml b/doc/classes/ItemList.xml index 2d898673c1..fdaeb54bdf 100644 --- a/doc/classes/ItemList.xml +++ b/doc/classes/ItemList.xml @@ -379,6 +379,9 @@ <member name="auto_height" type="bool" setter="set_auto_height" getter="has_auto_height" default="false"> If [code]true[/code], the control will automatically resize the height to fit its content. </member> + <member name="auto_width" type="bool" setter="set_auto_width" getter="has_auto_width" default="false"> + If [code]true[/code], the control will automatically resize the width to fit its content. + </member> <member name="clip_contents" type="bool" setter="set_clip_contents" getter="is_clipping_contents" overrides="Control" default="true" /> <member name="fixed_column_width" type="int" setter="set_fixed_column_width" getter="get_fixed_column_width" default="0"> The width all columns will be adjusted to. |