aboutsummaryrefslogtreecommitdiff
path: root/src/Entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entry.cpp')
-rw-r--r--src/Entry.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Entry.cpp b/src/Entry.cpp
index 590eade..b196009 100644
--- a/src/Entry.cpp
+++ b/src/Entry.cpp
@@ -10,9 +10,9 @@
#include <math.h>
namespace QuickMedia {
- static const float background_margin_horizontal = std::floor(5.0f * get_config().scale);
- static const float padding_vertical = std::floor(5.0f * get_config().scale);
- static const float background_margin_vertical = std::floor(0.0f * get_config().scale);
+ static const float background_margin_horizontal = std::floor(5.0f * get_config().scale * get_config().spacing_scale);
+ static const float padding_vertical = std::floor(5.0f * get_config().scale * get_config().spacing_scale);
+ static const float background_margin_vertical = std::floor(0.0f * get_config().scale * get_config().spacing_scale);
Entry::Entry(const std::string &placeholder_text, mgl::Shader *rounded_rectangle_shader) :
on_submit_callback(nullptr),