Hello,
I want to setup a GUI with 3 Columns nested in 1 Row.
I need the center column only to be shrinking/growing when resizing the program window, with the left & right columns remaining fixed.
Do I need to set the centre column width to a calculated value of
programSize - (leftSize + rightSize)
?
Or is there a way to do it with Layout priorities?
Thanks!
a
Albert Chang
11/12/2021, 4:47 AM
You can set
Modifier.weight(1f)
on the central column.
k
Kebbin
11/12/2021, 4:48 AM
Thanks for the fast reply!
I'll look into that option.
@Albert Chang Mate! Thank you so much! That is precisely what I needed! Cheers!!!