mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 02:06:04 +02:00
added visibilty to layouts
This commit is contained in:
@@ -70,6 +70,8 @@ void LayoutRenderer::renderLayoutHead(const Layout* pLayout, const RenderContext
|
|||||||
// assume that the direct parent is a panel
|
// assume that the direct parent is a panel
|
||||||
ostr << "new Ext.Panel({border:false,bodyBorder:false,";
|
ostr << "new Ext.Panel({border:false,bodyBorder:false,";
|
||||||
ostr << "id:'" << pLayout->id() << "',";
|
ostr << "id:'" << pLayout->id() << "',";
|
||||||
|
if (!pLayout->isVisible())
|
||||||
|
ostr << "hidden:true,";
|
||||||
renderParameters(pLayout, context, ostr, layoutId, layoutConfig, cols, horPad, vertPad);
|
renderParameters(pLayout, context, ostr, layoutId, layoutConfig, cols, horPad, vertPad);
|
||||||
ostr << "})";
|
ostr << "})";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user