Attempt to fix emoji layout in the InputField.
This commit is contained in:
parent
0dba641451
commit
37f777e230
1 changed files with 1 additions and 1 deletions
|
|
@ -622,7 +622,7 @@ QTextImageFormat PrepareEmojiFormat(EmojiPtr emoji, const QFont &font) {
|
||||||
result.setWidth(width / factor);
|
result.setWidth(width / factor);
|
||||||
result.setHeight(height / factor);
|
result.setHeight(height / factor);
|
||||||
result.setName(emoji->toUrl());
|
result.setName(emoji->toUrl());
|
||||||
result.setVerticalAlignment(QTextCharFormat::AlignBaseline);
|
result.setVerticalAlignment(QTextCharFormat::AlignBottom);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue