diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/PaneWidget.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/PaneWidget.cpp index c6efda41..82600d21 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/PaneWidget.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/PaneWidget.cpp @@ -58,12 +58,16 @@ namespace Bloom::Widgets if (!this->state.attached && this->state.detachedWindowState.has_value()) { this->state.detachedWindowState->size = this->size(); } + + QWidget::resizeEvent(event); } void PaneWidget::moveEvent(QMoveEvent* event) { if (!this->state.attached && this->state.detachedWindowState.has_value()) { this->state.detachedWindowState->position = this->pos(); } + + QWidget::moveEvent(event); } void PaneWidget::closeEvent(QCloseEvent* event) { diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp index 57cf895e..42617ff0 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp @@ -295,6 +295,8 @@ namespace Bloom::Widgets void TargetMemoryInspectionPane::resizeEvent(QResizeEvent* event) { const auto size = this->size(); this->container->setFixedSize(size.width() - 1, size.height()); + + PaneWidget::resizeEvent(event); } void TargetMemoryInspectionPane::postActivate() { diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/TargetRegistersPaneWidget.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/TargetRegistersPaneWidget.cpp index c44343ad..5ce85287 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/TargetRegistersPaneWidget.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/TargetRegistersPaneWidget.cpp @@ -235,6 +235,8 @@ namespace Bloom::Widgets * the scroll area. */ this->itemScrollArea->setFixedWidth(width - this->parentPanel->getHandleSize()); + + PaneWidget::resizeEvent(event); } void TargetRegistersPaneWidget::postActivate() {