From 2bd067f4ea2541b1a38d76dabb6520bebe758064 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Wed, 11 Sep 2019 06:52:23 +0200 Subject: [PATCH] ignore the minimum in qskConstrainedItemSize --- src/controls/QskQuick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controls/QskQuick.cpp b/src/controls/QskQuick.cpp index e07063f7..71b8d4a9 100644 --- a/src/controls/QskQuick.cpp +++ b/src/controls/QskQuick.cpp @@ -551,7 +551,7 @@ QSizeF qskConstrainedItemSize( const QQuickItem* item, const QSizeF& size ) if ( max.height() >= 0.0 ) height = qMin( height, max.height() ); -#if 1 +#if 0 const auto min = qskSizeConstraint( item, Qt::MinimumSize, constraint ); width = qMax( width, min.width() );