controlp5
controlp5 copied to clipboard
Problem in drawing Accordions when autodraw mode is disabled
Hello,
First of all, thanks for this awesome library! ;)
I'm facing problems when using the draw method of an accordion when autodraw mode is disabled. In my particular case, the accordion contains a group (that by its turn contains multiple controllers, such as textfields, buttons, etc).
This is what happens:
- If I draw only the accordion, no group item is drawn. In addition, the text and its corresponding textbox are not aligned;
- If I draw the accordion, the group, and each item individually, the items are drawn, but misplaced in absolute and relative positions (x=0 and y=0 screen coordinates). Text and textbox are again not aligned.
Everything works fine when I draw simple elements (i.e. a Textfield). Similarly, everything works great when autodraw is enabled.
Am I missing something? Or is this a bug?
If possible, I'd love to hear from you what you think. I'd be happy to provide further details if you want.
Regards,