diff --git a/src/controls/QskControl.cpp b/src/controls/QskControl.cpp index a293882b..9b3d5113 100644 --- a/src/controls/QskControl.cpp +++ b/src/controls/QskControl.cpp @@ -915,10 +915,16 @@ void QskControl::itemChange( QQuickItem::ItemChange change, break; } case QQuickItem::ItemChildAddedChange: + case QQuickItem::ItemChildRemovedChange: { - if ( autoLayoutChildren() && qskIsAdjustableByLayout( value.item ) ) - polish(); + if ( autoLayoutChildren() ) + { + if ( qskIsVisibleToLayout( value.item ) ) + resetImplicitSize(); + if ( qskIsAdjustableByLayout( value.item ) ) + polish(); + } break; } case QQuickItem::ItemActiveFocusHasChanged: