only drop explicitly hidden items from layout calculations
This commit is contained in:
parent
ae62e40b93
commit
a3fea8413c
|
@ -208,7 +208,7 @@ Qt::Orientation QskLayoutItem::dynamicConstraintOrientation() const
|
||||||
|
|
||||||
bool QskLayoutItem::isIgnored() const
|
bool QskLayoutItem::isIgnored() const
|
||||||
{
|
{
|
||||||
if ( m_item && !m_item->isVisible() )
|
if ( m_item && !qskIsVisibleToParent( m_item ) )
|
||||||
return !m_retainSizeWhenHidden;
|
return !m_retainSizeWhenHidden;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue