clean containers when relogging

This commit is contained in:
Eduardo Bart
2012-04-03 11:15:11 -03:00
parent 4b7e0e8e58
commit d4afb71263
5 changed files with 40 additions and 9 deletions

View File

@@ -1300,10 +1300,10 @@ void UIWidget::onGeometryChange(const Rect& oldRect, const Rect& newRect)
updateText();
// move children that is outside the parent rect to inside again
//for(const UIWidgetPtr& child : m_children) {
//if(!child->isAnchored())
//child->bindRectToParent();
//}
for(const UIWidgetPtr& child : m_children) {
if(!child->isAnchored())
child->bindRectToParent();
}
}
void UIWidget::onLayoutUpdate()