From a3fea8413cf5fb9108dfcdabf6ccab545613b662 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Tue, 23 Oct 2018 19:18:28 +0200 Subject: [PATCH] only drop explicitly hidden items from layout calculations --- src/layouts/QskLayoutItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/QskLayoutItem.cpp b/src/layouts/QskLayoutItem.cpp index a5fbd295..2e6d0269 100644 --- a/src/layouts/QskLayoutItem.cpp +++ b/src/layouts/QskLayoutItem.cpp @@ -208,7 +208,7 @@ Qt::Orientation QskLayoutItem::dynamicConstraintOrientation() const bool QskLayoutItem::isIgnored() const { - if ( m_item && !m_item->isVisible() ) + if ( m_item && !qskIsVisibleToParent( m_item ) ) return !m_retainSizeWhenHidden; return false;