Hello,
i have a widget which is the main window of my application. In this widget i have several other widgets. One of them should always be in a specific width/height ratio. I achieved that be overwriting of resizeEvent ( QResizeEvent * event ) of this child widget.
Basically it works but now this widget can grow out of it boundaries.
The layout management typically takes care that the child widgets shrink/grow with the parent. But now i would need something which makes the parent shrink/grow if a child widget requests more/less space.
Do you have any idea how i could achieve that?
Thanks!
Bookmarks