From 6f4b47c3d5ddb1eddbea1817d624443de1a4fbf9 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Thu, 27 Dec 2018 00:30:26 +0100 Subject: remove WS_BORDER from edit control --- alf/alf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alf') 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, -- cgit v1.2.3