blob: 71f44709775e7f4ab33d6895b154c7db9a7c953d (plain
(1) If I do not resize the widget to be reparented then it will take up all
the size of its new parent, and the parent will never receive a
repaint event, and will thus never get a chance to resize its new child
to a proper size (This is namely done in repaintEvent() ).