ControlP5 DropdownList overlapping other Elements. Z-index?

edited January 2014 in Library Questions

Hey there. I am creating a user interface, that uses some dropdown lists but I am having trouble with them overlapping other elements. There are sliders under the dropdown list that are rendered after the list itself. So when I open the list, the sliders are rendered ABOVE it's entries. Is there a way to solve this? Like a z-index option? I haven't found anything on this.

Answers

  • You could set the sliders invisible when the list drops open, or initiate the list before the sliders in the setup().

  • The user can add new gui elements on demand. So the initiation solution won't work. But I guess I could hide the other elements for now. Thanks.

Sign In or Register to comment.