diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-01-25 22:06:18 +0100 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-01-25 22:06:18 +0100 |
| commit | 6b301ea64ca71777e38611d8c49dd119808b4365 (patch) | |
| tree | ed03de73b802a337b62eafe1ae28f10e6312d8d9 /alf/alflabel.cpp | |
| parent | 55211af76164fe6c39249c14be47363d35a4db0f (diff) | |
remove edit control margins to match up with button
we'll owner-draw the button to get rid of the margin
Diffstat (limited to 'alf/alflabel.cpp')
| -rw-r--r-- | alf/alflabel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alf/alflabel.cpp b/alf/alflabel.cpp index 0a18a54..e7550e4 100644 --- a/alf/alflabel.cpp +++ b/alf/alflabel.cpp @@ -9,8 +9,7 @@ int ALF__LabelTopPadding(HWND hwnd) // see also: alfedit.cpp return ALF_Compat_GetSystemMetricsForDpi( SM_CYEDGE, ALF_CentipointsToPixels(GetParent(hwnd), 7200)) - + ((LOBYTE(LOWORD(GetVersion())) < 4) ? 2 : 1) /* internal padding in edit control */ - + 1 /* external padding around edit control */; + + ((LOBYTE(LOWORD(GetVersion())) < 4) ? 2 : 1) /* internal padding in edit control */; } static LRESULT CALLBACK |
