added visibilty to layouts

This commit is contained in:
Peter Schojer 2008-09-03 14:02:09 +00:00
parent 52ab7d01ca
commit 8db9f0086b

View File

@ -70,6 +70,8 @@ void LayoutRenderer::renderLayoutHead(const Layout* pLayout, const RenderContext
// assume that the direct parent is a panel
ostr << "new Ext.Panel({border:false,bodyBorder:false,";
ostr << "id:'" << pLayout->id() << "',";
if (!pLayout->isVisible())
ostr << "hidden:true,";
renderParameters(pLayout, context, ostr, layoutId, layoutConfig, cols, horPad, vertPad);
ostr << "})";
}