diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-10-04 11:21:14 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-10-04 11:21:14 +0200 |
commit | 058f06c10d31694cefee23d70962f9f021ef733b (patch) | |
tree | 99e34ab3df718fd7e51bae7f00dc0e8c3149e593 /doc | |
parent | a70402b442128be77e84045f9af00d3a1c16dfaf (diff) | |
parent | 1e1dbd8e3a16eb3fee2b50a5aead4c2e14b45f6a (diff) | |
download | redot-engine-058f06c10d31694cefee23d70962f9f021ef733b.tar.gz |
Merge pull request #93270 from Gamemap/feature-itemlist-autowidth
Add `Auto width` behavior to ItemList
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. |