mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 18:46:29 +03:00
Minor fixes.
--HG-- branch : dev
This commit is contained in:
@@ -42,12 +42,10 @@ void UIRelativeLayout::fixChilds() {
|
||||
|
||||
if ( getLayoutWidthRules() == MATCH_PARENT ) {
|
||||
setInternalWidth( getParent()->getSize().getWidth() - mLayoutMargin.Left - mLayoutMargin.Right );
|
||||
sendCommonEvent( UIEvent::EventOnSizeChange );
|
||||
}
|
||||
|
||||
if ( getLayoutHeightRules() == MATCH_PARENT ) {
|
||||
setInternalHeight( getParent()->getSize().getHeight() - mLayoutMargin.Top - mLayoutMargin.Bottom );
|
||||
sendCommonEvent( UIEvent::EventOnSizeChange );
|
||||
}
|
||||
|
||||
UIControl * child = mChild;
|
||||
|
||||
Reference in New Issue
Block a user