PDA

View Full Version : BoxWrap on resize



akirillov
27 Feb 2010, 2:47 AM
I'm trying to wrap container using BoxWrap function. But resizing the container breaks x-box div position and it just go "upper" in dom tree. I can't figure out why it happens. Is it because the layout of parent container is responsible of resizing child items and layout manager remove all elements inside container ?

Is it possible to make pre-defined resizable container with following structure. Can't achiev it using BoxWrap function...
E
xt.Element.boxMarkup =
'<div class="{0}-tl"><div class="{0}-tr"><div class="{0}-tc"></div></div></div>
<div class="{0}-ml"><div class="{0}-mr"><div class="{0}-mc"></div></div></div>
<div class="{0}-bl"><div class="{0}-br"><div class="{0}-bc"></div></div></div>';

akirillov
27 Feb 2010, 2:58 AM
adding baseCls: 'x-box' solved my problem. Still can't understand how it works inside...