mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +02:00
added appendPostRenderCode
This commit is contained in:
@@ -62,7 +62,7 @@ void LabelRenderer::renderHead(const Renderable* pRenderable, const RenderContex
|
||||
const Label* pLabel = static_cast<const Poco::WebWidgets::Label*>(pRenderable);
|
||||
|
||||
//ostr << "{xtype:'label', text:'" << Utility::safe(pLabel->getText()) << "'}";
|
||||
ostr << "new Ext.form.Label({text:'" << Utility::safe(pLabel->getText()) << "',cls:'lbl'";
|
||||
ostr << "new Ext.form.Label({text:'" << Utility::safe(pLabel->getText()) << "',cls:'lbl'," << "id:'" << pLabel->id() << "'";
|
||||
if (pLabel->getWidth() > 0)
|
||||
ostr << ",width:" << pLabel->getWidth();
|
||||
ostr << "})";
|
||||
|
Reference in New Issue
Block a user