How can I take a box, and subdivide it horizontall...
# compose
z
How can I take a box, and subdivide it horizontally into three equal sized sections. And on each section they have their own function that occurs when the user drags vertically
r
Why not just have three boxes?
c
weight(0.333)
z
That would work I suppose. Wasn't sure if there was some more direct way with just a single box
c
I guess he meant 3 boxes in a box. It already has 3 sections. And you will need 3 containers for each section anyway.
f
Also, you can use
weight(1f)
, no need to use specific values (like
0.333
), just make sure that all boxes have same value