I'll get the code tidied up into a small demo app and get it out tomorrow. We can see where, if anywhere, this all leads. I will also create a JIRA ticket for adding header/title rendering functionality to Expander. That should be useful regardless of the outcome of this.
I started thinking about events, and Expander has some broadly similar events to Accordion, including vetos, so that side of things may mesh without too much hassle. On 16 July 2011 02:06, Greg Brown <gk_br...@verizon.net> wrote: >> The actual org.apache.pivot.wtk.Accordion class could still >> remain, but its functionality could just be replaced by the relevant >> part of this technique of stacking Expanders. So it would pretty much >> just become a glorified vertical BoxPane containing Expanders. > > That's sort of what I was getting at. If it is nothing more than a glorified > BoxPane, then there may not be too much value in keeping it. > > Not sure - just thinking out loud. > >