diff options
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index 6b7826d..f1c101f 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -476,14 +476,14 @@ namespace QuickMedia { else strftime(time_str, sizeof(time_str) - 1, "%a %b %d %H:%M:%S %Y", message_tm); */ - strftime(time_str, sizeof(time_str) - 1, "%H:%M:%S", message_tm); + strftime(time_str, sizeof(time_str) - 1, "%a %b %d %H:%M", message_tm); if(body_item->timestamp_text) body_item->timestamp_text->setString(time_str); else - body_item->timestamp_text = std::make_unique<sf::Text>(time_str, *font, 14); + body_item->timestamp_text = std::make_unique<sf::Text>(time_str, *font, 10); - body_item->timestamp_text->setFillColor(sf::Color(185, 190, 198)); + body_item->timestamp_text->setFillColor(sf::Color(185, 190, 198, 100)); } } @@ -702,7 +702,7 @@ namespace QuickMedia { } if(item->timestamp_text) { - item->timestamp_text->setPosition(std::floor(item_pos.x + size.x - item->timestamp_text->getLocalBounds().width - padding_x), timestamp_text_y + 4.0f); + item->timestamp_text->setPosition(std::floor(item_pos.x + size.x - item->timestamp_text->getLocalBounds().width - padding_x), timestamp_text_y + 8.0f); window.draw(*item->timestamp_text); } |