I have a BorderContainer {design: "sidebar"} with a AccordionContainer {region: "left"} in the left pane. The Splitter is enabled to allow dragging the AccordionContainer 'closed', but with the splitter still available at the left edge to drag it back 'open'.
How can I toggle it from the current width to 0px with code? - How do I get the current width? - How do I set the width and redraw if necessary?
I do not want to removeChild/Addchild as this removes the splitter.
[ Edit: Solution: http://jsfiddle.net/6aNrp/274/ ]
Thanks
I think You want dojo.marginBox.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With