@ -622,12 +622,29 @@ namespace NLGUI
{
std::string parentId;
if( value != "parent" ){
if (value != "parent")
if (_Parent != NULL)
parentId = _Parent->getId() + ":" + value;
}
else
parentId = "ui:" + value;
if (_Parent)
parentId = _Parent->getId();
parentId = value;
CWidgetManager::getInstance()->getParser()->addParentSizeMaxAssociation(this, parentId);
return;