respecting the layout hints when autolayouting children

This commit is contained in:
Uwe Rathmann 2019-09-16 12:30:00 +02:00
parent 5974b4115d
commit 5f751ede09

View File

@ -456,7 +456,10 @@ void QskWindow::layoutItems()
for ( auto child : children )
{
if ( !qskIsTransparentForPositioner( child ) )
qskSetItemGeometry( child, rect );
{
const auto r = qskConstrainedItemRect( child, rect );
qskSetItemGeometry( child, r );
}
}
}