handling of spacers fixed
This commit is contained in:
parent
1d04c19999
commit
422c40c397
@ -612,6 +612,7 @@ void QskGridLayoutEngine::setupChain( Qt::Orientation orientation,
|
|||||||
constraint = qskSegmentLength( constraints, grid.left(), grid.right() );
|
constraint = qskSegmentLength( constraints, grid.left(), grid.right() );
|
||||||
|
|
||||||
auto cell = element.cell( orientation );
|
auto cell = element.cell( orientation );
|
||||||
|
if ( element.item() )
|
||||||
cell.hint = layoutHint( element.item(), orientation, constraint );
|
cell.hint = layoutHint( element.item(), orientation, constraint );
|
||||||
|
|
||||||
chain.expandCell( grid.top(), cell );
|
chain.expandCell( grid.top(), cell );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user