Fix emoji alignment issue (#43)
This commit is contained in:
parent
140cbd3c27
commit
03437cc693
@ -43,5 +43,5 @@ void EmojiItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt
|
||||
font.setPixelSize(19);
|
||||
|
||||
painter->setFont(font);
|
||||
painter->drawText(viewOption.rect, emoji);
|
||||
painter->drawText(viewOption.rect, Qt::AlignCenter, emoji);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user