aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-02 18:30:27 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-02 18:30:27 +0200
commit257338db37bdc500e6ac363c72f2e6ad2c9a3873 (patch)
tree050f1a1d4ca79c22a695b2ad355df51774aa2d41 /src
parenta7cecfaebac405b52cdbf9626e443996e976bcdd (diff)
Better spacing for text
Diffstat (limited to 'src')
-rw-r--r--src/Body.cpp2
1 files changed, 1 insertions, 1 deletions
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) {