I would suggest you look at the CollapsablePanel under the Qooxdoo Contributions (http://qooxdoo.org/contrib). That will give you the functionality you are looking for.
Matt -----Original Message----- From: danovics [mailto:[email protected]] Sent: Tuesday, March 30, 2010 1:55 PM To: [email protected] Subject: [qooxdoo-devel] accordion-like behaviour - how? I'd like to achive an accordion-like behavior in my app. I have a myContainer with VBox layout. I've put into it three containers (cont1, cont2, cont3). I've got a toggleButton. With that I can hide and show the cont3. Now when the cont3 becomes "hidden", the layout remains the same like the cont3 was there: the place in the VBox layout for it remains there. I'd like the cont2 fill up this empty space. And of course vica versa: when it's time for the cont3 to become "visible" again I'd like the cont2 to shrink back to available space between the cont1 and cont3. I've added cont2 with flex:1 to myContainer already, but it is not enough. Could somebody help me with this, please? Thank you. -- View this message in context: http://n2.nabble.com/accordion-like-behaviour-how-tp4826117p4826117.html Sent from the qooxdoo mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
