Am 24.10.2018 um 10:26 schrieb Shawn Rutledge:
ue (have no idea, why)
Why: because the layout algorithm could have a bad edge case if some columns
are zero-width. (It keeps trying to fill the width of the view, but maybe it
will never get there?)
You not talk about QHeaderView but I think the codebase may be derived
from it:
void QHeaderView::resizeSection(int /logicalIndex/, int /size/)
Resizes the section specified by /logicalIndex/ to /size/ measured in
pixels. The size parameter must be a value larger or equal to zero. A
size equal to zero is however not recommended. In that situation
hideSection <http://doc.qt.io/qt-5/qheaderview.html#hideSection> should
be used instead.
Christian
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest