From 82016959c898f5f47eb87fd232ed972a38055fd7 Mon Sep 17 00:00:00 2001 From: Nav Date: Tue, 2 Nov 2021 23:26:43 +0000 Subject: [PATCH] Fixed bug with hex viewer widget failing to occupy all available space --- .../HexViewerWidget/ByteItemGraphicsScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.