mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix emoji alignment issue (#43)
This commit is contained in:
parent
140cbd3c27
commit
03437cc693
1 changed files with 1 additions and 1 deletions
|
@ -43,5 +43,5 @@ void EmojiItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt
|
||||||
font.setPixelSize(19);
|
font.setPixelSize(19);
|
||||||
|
|
||||||
painter->setFont(font);
|
painter->setFont(font);
|
||||||
painter->drawText(viewOption.rect, emoji);
|
painter->drawText(viewOption.rect, Qt::AlignCenter, emoji);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue