From 257338db37bdc500e6ac363c72f2e6ad2c9a3873 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 2 Jun 2021 18:30:27 +0200 Subject: Better spacing for text --- src/Body.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Body.cpp b/src/Body.cpp index 7de5f09..4c1f95c 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -1103,7 +1103,7 @@ namespace QuickMedia { text_offset_x += body_spacing[body_theme].image_padding_x + thumbnail_size.x; } - const float text_offset_y = std::floor(8.0f * get_ui_scale()); + const float text_offset_y = item_thumbnail ? std::floor(8.0f * get_ui_scale()) : std::floor(6.0f * get_ui_scale()); const float timestamp_text_y = std::floor(item_pos.y + padding_y - text_offset_y); if(item->author_text && !merge_with_previous) { -- cgit v1.2.3