summaryrefslogtreecommitdiff
path: root/alf/alfedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alfedit.cpp')
-rw-r--r--alf/alfedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alf/alfedit.cpp b/alf/alfedit.cpp
index 7c247b1..2dae626 100644
--- a/alf/alfedit.cpp
+++ b/alf/alfedit.cpp
@@ -28,7 +28,7 @@ ALF__EditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_P
if (!ps->cy) {
ps->cy = tm.tmHeight + 2*app->compatFn->GetSystemMetricsForDpi(
SM_CYEDGE, ALF_CentipointsToPixels(GetParent(hwnd), 7200))
- + 2 /* padding internal to the edit control */
+ + 4 /* padding internal to the edit control */
+ 2 /* external padding to line up with themed button */;
}
}