Skip to content

WindowHeapDelegate: set maximumLineCount to fix negative cell size

Fushan Wen requested to merge work/fuf/align into master

cell.bottomMargin depends on caption.height. For small windows QRect::marginsRemoved will produce negative size if caption.height is too big, so limit the maximum line count here to limit its height.

Merge request reports