diff options
Diffstat (limited to 'src/Entry.cpp')
-rw-r--r-- | src/Entry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entry.cpp b/src/Entry.cpp index 5e18340..ba9718b 100644 --- a/src/Entry.cpp +++ b/src/Entry.cpp @@ -98,7 +98,7 @@ namespace QuickMedia { void Entry::set_position(const sf::Vector2f &pos) { background.set_position(pos); text.setPosition(pos + sf::Vector2f(background_margin_horizontal, background_margin_vertical)); - placeholder.setPosition(pos + sf::Vector2f(background_margin_horizontal, background_margin_vertical)); + placeholder.setPosition(pos + sf::Vector2f(background_margin_horizontal, background_margin_vertical + std::floor(5.0f * get_ui_scale()))); } void Entry::set_max_width(float width) { |