mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-05 23:09:04 +00:00
Sizes should remain the same when ungrouping.
This commit is contained in:
parent
f48c247e2b
commit
fcf3482b02
1 changed files with 7 additions and 8 deletions
|
@ -2571,16 +2571,15 @@ namespace NLGUI
|
|||
|
||||
oldId = e->getId();
|
||||
|
||||
e->setW( e->getWReal() );
|
||||
e->setH( e->getHReal() );
|
||||
e->setSizeRef( "" );
|
||||
|
||||
e->setParent( p );
|
||||
|
||||
if( e->getParentPos() == this )
|
||||
e->setParentPos( p );
|
||||
|
||||
if( e->getParentSize() == this )
|
||||
e->setParentSize( p );
|
||||
|
||||
if( e->getParentPos() == p )
|
||||
e->alignTo( p );
|
||||
e->setParentPos( p );
|
||||
e->setParentSize( p );
|
||||
e->alignTo( p );
|
||||
|
||||
p->addElement( e );
|
||||
e->setIdRecurse( e->getShortId() );
|
||||
|
|
Loading…
Reference in a new issue