ControlP5: How do I get the full height of a group so I can dynamically update the position of other groups when I add elements to a group?
in
Contributed Library Questions
•
1 year ago
Hey All,
In ControlP5 how do I get the full height of a group, including all the elements in it?
I've tried the .getHeight() method for the group but that seems to only return the height of the groups tabs, not the height of the group. The getBackgroundHeight() method only returns the height of the background, which has to be manually set.
Really I'm looking to be able to dynamical space my groups, so if I add a button to a group and it gets bigger all the groups below it slide down.
Anyone have any thoughts?
Thanks!
1