Fix emoji alignment issue (#43)

pull/1/head
george99g 7 years ago committed by mujx
parent 140cbd3c27
commit 03437cc693
  1. 2
      src/EmojiItemDelegate.cc

@ -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…
Cancel
Save