summary refs log tree commit diff
path: root/include/TimelineItem.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-07-01 14:03:00 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-07-01 14:03:00 +0300
commit0ed23506646ff2b8cbd5b99ebce22745740a80da (patch)
treefe10e423d326e081766607f332287ad50050c5c8 /include/TimelineItem.h
parentRemove hardcoded font sizes, margins etc (diff)
downloadnheko-0ed23506646ff2b8cbd5b99ebce22745740a80da.tar.xz
Set emoji size relative to the default font
Diffstat (limited to 'include/TimelineItem.h')
-rw-r--r--include/TimelineItem.h3
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_;