mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 18:46:29 +03:00
Several fixes for UIViewPager.
Added min-width and max-width CSS properties (still needs testing). Fixed CSS animations with multiple steps. Fixed menu sub-menues not appearing.
This commit is contained in:
@@ -36,7 +36,9 @@ void UIRelativeLayout::onParentSizeChange( const Vector2f& ) {
|
||||
}
|
||||
|
||||
void UIRelativeLayout::fixChilds() {
|
||||
setInternalPosition( Vector2f( mLayoutMargin.Left, mLayoutMargin.Top ) );
|
||||
if ( getParent()->isUINode() && !getParent()->asType<UINode>()->ownsChildPosition() ) {
|
||||
setInternalPosition( Vector2f( mLayoutMargin.Left, mLayoutMargin.Top ) );
|
||||
}
|
||||
|
||||
if ( getLayoutWidthRule() == LayoutSizeRule::MatchParent ) {
|
||||
Rectf padding = Rectf();
|
||||
|
||||
Reference in New Issue
Block a user