summaryrefslogtreecommitdiff
path: root/alf/alf.cpp
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2018-12-27 00:30:26 +0100
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2018-12-27 00:30:26 +0100
commit6f4b47c3d5ddb1eddbea1817d624443de1a4fbf9 (patch)
tree144074f3d762508e72c1f0ffa100d60bf5e09b41 /alf/alf.cpp
parent922a90bc7d5ab7d7d8210ebc94534abdd05cab30 (diff)
remove WS_BORDER from edit control
Diffstat (limited to 'alf/alf.cpp')
-rw-r--r--alf/alf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alf/alf.cpp b/alf/alf.cpp
index efb8b8d..9d7b55a 100644
--- a/alf/alf.cpp
+++ b/alf/alf.cpp
@@ -781,7 +781,7 @@ ALF_AddLabel(HWND win, WORD id, UINT x, UINT y, const WCHAR *text)
p.width = 0;
p.height = 0;
p.flags = ALF_QUERYSIZE | ALF_MESSAGEFONT;
- p.margins[0] = 300;
+ p.margins[0] = 225;
p.margins[2] = 375;
ALF_AddWidgetEx(win, &p);
@@ -825,7 +825,7 @@ ALF_AddEdit(HWND win, WORD id, UINT x, UINT y, const WCHAR *text)
HWND hwndEdit = CreateWindowEx(WS_EX_CLIENTEDGE,
L"EDIT",
text,
- WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER,
+ WS_CHILD | WS_VISIBLE | WS_TABSTOP,
0, 0, 100, 100,
win,
(HMENU)(int)id,