diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2018-12-27 00:30:26 +0100 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2018-12-27 00:30:26 +0100 |
| commit | 6f4b47c3d5ddb1eddbea1817d624443de1a4fbf9 (patch) | |
| tree | 144074f3d762508e72c1f0ffa100d60bf5e09b41 | |
| parent | 922a90bc7d5ab7d7d8210ebc94534abdd05cab30 (diff) | |
remove WS_BORDER from edit control
| -rw-r--r-- | alf/alf.cpp | 4 |
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, |
