Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Fix ctkFlowLayout regression related to minimum size computation
This commit fixes a regression introduced in e663242 (COMP: Fix deprecated warning related to QWidget::getContentsMargins()). Since functions QWidget::contentsRect() and QWidget::contentsMargins() are not equivalent, the logic associated with ctkFlowLayout::minimumSize() and ctkFlowLayout::sizeHint() was incorrect. Fixes Slicer/Slicer#7108 Reported-by: Csaba Pinter <[email protected]> Co-authored-by: Andras Lasso <[email protected]>
- Loading branch information