Fixed item positioning bug in hex viewer

This commit is contained in:
Nav
2023-03-19 01:34:17 +00:00
parent 45715114a1
commit 7998632eed

View File

@@ -37,7 +37,7 @@ namespace Bloom::Widgets
(groupItem != nullptr && groupItem->positionOnNewLine(maximumWidth)) (groupItem != nullptr && groupItem->positionOnNewLine(maximumWidth))
|| itemSize.width() > availableWidth || itemSize.width() > availableWidth
) { ) {
position.setX(0); position.setX(margins.left());
position.setY(height + HexViewerItem::BOTTOM_MARGIN); position.setY(height + HexViewerItem::BOTTOM_MARGIN);
this->multiLine = true; this->multiLine = true;
currentLineItems.clear(); currentLineItems.clear();