Decided to keep the current Windows API padding rules. We can change it later if needed.

This commit is contained in:
Pietro Gagliardi 2015-04-11 10:32:01 -04:00
parent e1d14a08cb
commit e3c5dc1995
1 changed files with 0 additions and 1 deletions

View File

@ -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)