GUI: space between comment and address in DisassemblyPopup
This commit is contained in:
parent
430746b32e
commit
3dee7fb158
|
|
@ -129,6 +129,8 @@ void DisassemblyPopup::setAddress(duint Address)
|
|||
addrText = parent->getAddrText(addr, nullptr);
|
||||
// Comments
|
||||
GetCommentFormat(addr, addrComment, &addrCommentAuto);
|
||||
if(addrComment.length())
|
||||
addrText.append(' ');
|
||||
// Calculate width of address
|
||||
mWidth = std::max(mWidth, mFontMetrics->width(addrText) + mFontMetrics->width(addrComment));
|
||||
mWidth += charWidth * 6;
|
||||
|
|
|
|||
Loading…
Reference in New Issue