respecting the layout hints when autolayouting children
This commit is contained in:
parent
5974b4115d
commit
5f751ede09
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user