hi,
so, for the last few hours or so i tried to get the layout of some custom widgets right.
i got a widget, that serves as a container for other widgets and when resizing, i want to resize the children, too.
i overloaded resizeEvent for that - but it never gets called.
declaration:
Qt Code:
protected:To copy to clipboard, switch view to plain text mode
i really don't know what other code to post here. i call resize(...), the widget actually gets resized, but resizeEvent never gets called.
are there any side effects involved? some property or whatever that has to be set?
btw: i know, i could use layouts for that purpose. but then i could open another thread on why sizeHint() of the child widgets just never gets called, resulting in a messed up layout.
Bookmarks