Hello, I want to setup a GUI with 3 Columns nested...
# compose-desktop
k
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
You can set
Modifier.weight(1f)
on the central column.
k
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!!!
👍 1
I'm so happy! 😄
jetpack compose 1
🎉 1