From e3c5dc19956f60914121979ae5afbae9ab80a7f9 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 11 Apr 2015 10:32:01 -0400 Subject: [PATCH] Decided to keep the current Windows API padding rules. We can change it later if needed. --- container_windows.c | 1 - 1 file changed, 1 deletion(-) diff --git a/container_windows.c b/container_windows.c index 1ddbbe34..b389e700 100644 --- a/container_windows.c +++ b/container_windows.c @@ -58,7 +58,6 @@ BOOL sharedWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT * // from https://msdn.microsoft.com/en-us/library/windows/desktop/dn742486.aspx#sizingandspacing and https://msdn.microsoft.com/en-us/library/windows/desktop/bb226818%28v=vs.85%29.aspx // this X value is really only for buttons but I don't see a better one :/ #define winXPadding 4 -// 3 might look better but IDK... TODO #define winYPadding 4 void resize(uiControl *control, HWND parent, RECT r, RECT margin)