Tweaked positioning of ByteAddressItem in hex viewer

This commit is contained in:
Nav
2022-07-17 17:12:59 +01:00
parent ec59191e88
commit c01fbcc99c

View File

@@ -30,7 +30,7 @@ namespace Bloom::Widgets
addressLabel->setAddressHex(firstByteItem->relativeAddressHex);
addressLabel->setPos(
leftMargin,
firstByteItem->pos().y()
firstByteItem->pos().y() + 3 // +3 to have the address item and byte item align vertically, from center
);
}