Jeetu Golani wrote:
I want to have multiple expanders lined one after the other vertically. I would also like that as the top expander opens the ones below shift to accomodate the expanded window.
> At the moment simply placing expanders one after doesn't cause them to > automatically shift on open. Should I be grouping them using a class > or is there some other way. Would appreciate some insight.
I assume you are trying to make sure only one expander in a container is open at a time? There is no built-in functionality for that in any toolkit I use (you didn't mention yours) but implementing it is less than 10 lines:
Connect to expand signal of every expander, set the container as data pointer. In the expand-handler get the children of the container, and contract every expander that is not the one being expanded.
- Jussi _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
