From 5f5e5234fcba4de86a08187bb9baf643c9877400 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 4 Nov 2017 11:56:15 +0100 Subject: [PATCH] Fix CEdit background margins, closes #1029 This mismatch happened after changes in 08d87fa9757a05b66325b9ea77123d098143ddbd --- src/ui/controls/edit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/controls/edit.cpp b/src/ui/controls/edit.cpp index 7d08b260..f5e02671 100644 --- a/src/ui/controls/edit.cpp +++ b/src/ui/controls/edit.cpp @@ -47,9 +47,9 @@ namespace Ui { -const float MARGX = (5.0f/640.0f); -const float MARGY = (5.0f/480.0f); -const float MARGYS = (4.0f/480.0f); +const float MARGX = (3.75f/640.0f); +const float MARGY = (3.75f/480.0f); +const float MARGYS = (2.75f/480.0f); const float MARGY1 = (1.0f/480.0f); //! time limit for double-click const float DELAY_DBCLICK = 0.75f;