Flex
Use this width setting when you want the column to use all remaining horizontal space in the column.
Parameters
weight
Determines how much of the available space should this column take compared to other columns. Examples:
If there are two columns, and they both have the weight of
1f, each of them will take 50% of the space.If there are three columns, two of them have the weight of
0.25f, and the third one has0.5f, then the first two will take 25% of the available space, while the third one will take 50%.
There is no need for the sum of weights to be a specific number, as the relative weights are calculated based on the total sum of weights provided.