iced_table
iced_table copied to clipboard
Is there a way to make table columns automatically shrink to fit contents?
New here so sorry if I'm asking something obvious.
I see Column
Trait requires function width
to return "the fixed width for this column." But must the width be fixed? Because I also see that iced has enum Length
with variant Shrink
.
Is there a way for the table automatically to figure out how wide its columns should be based on the table content, such that each column is no wider than necessary to fit the widest content in any cell in that column? (aka "shrink to fit")