Add Auto width behavior to ItemList

Co-authored-by: Craig Hupin <althar93@hotmail.com>
This commit is contained in:
Gamemap
2024-06-17 17:58:59 +02:00
parent 5ccbf6e4c7
commit 1e1dbd8e3a
3 changed files with 42 additions and 4 deletions

View File

@ -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.