From 7998632eed50a70a2d71a9332972fcbc564e3c40 Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 19 Mar 2023 01:34:17 +0000 Subject: [PATCH] Fixed item positioning bug in hex viewer --- .../TargetMemoryInspectionPane/HexViewerWidget/GroupItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/GroupItem.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/GroupItem.cpp index b62a0001..63a7cf27 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/GroupItem.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/GroupItem.cpp @@ -37,7 +37,7 @@ namespace Bloom::Widgets (groupItem != nullptr && groupItem->positionOnNewLine(maximumWidth)) || itemSize.width() > availableWidth ) { - position.setX(0); + position.setX(margins.left()); position.setY(height + HexViewerItem::BOTTOM_MARGIN); this->multiLine = true; currentLineItems.clear();