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