diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp index ec99f73f..649cb3c4 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp @@ -82,7 +82,7 @@ void ByteItemGraphicsScene::adjustByteWidgets() { 0, 0, width, - (rowCount * byteWidgetHeight) + margins.top() + margins.bottom() + std::max(((rowCount * byteWidgetHeight) + margins.top() + margins.bottom()), this->parent->height()) ); // Don't bother recalculating the byte item positions if the number of rows have not changed.