jquery and div size again

Hi,

I cannot get my head around this:

http://webix.com/snippet/3b52a0d1

cannot solve how to make the template appear when the button is clicked without setting height and width, plus don’t really understand how it works!!! i tried with .adjust(), resize(), refresh()… nothing

helpp please for a really thick guy!!!

:slight_smile:

thanks!

Please check

http://webix.com/snippet/ccd5c943

When you are initializing layout in the hidden container, it takes a zero width ( as none of its cols has width settings ), after switching layout to visible state you need to call .adjust for layout, to size it to the surrounding HTML container. ( the resize will not help, as none of subviews has a width settings, and all of them are fine with zero width )

that makes sense. Thank you!