# Auto adjusting list

**URL:** <https://discourse.processing.org/t/auto-adjusting-list/13091>\
**Category:** Coding Questions\
**Created:** [July 31, 2019, 11:58am UTC](https://discourse.processing.org/t/auto-adjusting-list/13091 "2019-07-31T11:58:49Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![InferNova](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/infernova/32/6009_2.png) [@InferNova](https://discourse.processing.org/u/InferNova)\
**Post date:** [July 31, 2019, 6:24pm UTC](https://discourse.processing.org/t/auto-adjusting-list/13091/21 "2019-07-31T18:24:49Z")

</div>

One could also possibly take and utilize a stack data structure rather than just sitcking it within one String.

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [August 3, 2019, 3:45pm UTC](https://discourse.processing.org/t/auto-adjusting-list/13091/22 "2019-08-03T15:45:57Z")

</div>

If you want to use a GUI library, ControlP5 also has things like an “Accordian” control. I think that is more of a reveal toolbar style, rather than a popup stack, but control groups in either ControlP5 or G4P could be used to implement the display part of your stack as an alternative to creating your own from scratch – particularly if you want them to be clickable or updatable.

> <https://github.com/sojamo/controlp5/blob/master/examples/controllers/ControlP5accordion/ControlP5accordion.pde>

[Previous page](https://discourse.processing.org/t/auto-adjusting-list/13091.md?page=1)
