diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-07-01 14:03:00 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-07-01 14:03:00 +0300 |
commit | 0ed23506646ff2b8cbd5b99ebce22745740a80da (patch) | |
tree | fe10e423d326e081766607f332287ad50050c5c8 /include/TimelineItem.h | |
parent | Remove hardcoded font sizes, margins etc (diff) | |
download | nheko-0ed23506646ff2b8cbd5b99ebce22745740a80da.tar.xz |
Set emoji size relative to the default font
Diffstat (limited to 'include/TimelineItem.h')
-rw-r--r-- | include/TimelineItem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/TimelineItem.h b/include/TimelineItem.h index ccba27ad..6fd26f52 100644 --- a/include/TimelineItem.h +++ b/include/TimelineItem.h @@ -73,6 +73,9 @@ private: const int AvatarSize = 36; const float TimestampFontRatio = 0.8; + const float EmojiFontRatio = 1.4; + + float EmojiSize = 13; Avatar *userAvatar_; |