diff --git a/sdrgui/gui/rollupcontents.cpp b/sdrgui/gui/rollupcontents.cpp index 148fc66ea..f40c0183d 100644 --- a/sdrgui/gui/rollupcontents.cpp +++ b/sdrgui/gui/rollupcontents.cpp @@ -373,6 +373,10 @@ bool RollupContents::event(QEvent* event) ((QChildEvent*)event)->child()->removeEventFilter(this); arrangeRollups(); } + else if (event->type() == QEvent::LayoutRequest) + { + arrangeRollups(); + } return QWidget::event(event); } diff --git a/sdrgui/gui/rollupwidget.cpp b/sdrgui/gui/rollupwidget.cpp index 5b89eb355..307260d29 100644 --- a/sdrgui/gui/rollupwidget.cpp +++ b/sdrgui/gui/rollupwidget.cpp @@ -576,6 +576,10 @@ bool RollupWidget::event(QEvent* event) ((QChildEvent*)event)->child()->removeEventFilter(this); arrangeRollups(); } + else if (event->type() == QEvent::LayoutRequest) + { + arrangeRollups(); + } return QWidget::event(event); }