summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-12 16:43:17 -0500
committerPietro Gagliardi <[email protected]>2014-12-12 16:43:17 -0500
commitd1bd082b2e1fba41776eb1d69ba4f6ba142ba20f (patch)
treeb5c3e23794bed723db9c9a4afb7fbfa415cca7bd
parent7f7ea0044eff2933627e16d657635a8c1fcdce3e (diff)
ok fixed that bug
-rw-r--r--wintable/new/resize.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wintable/new/resize.h b/wintable/new/resize.h
index 00087de..1edab7f 100644
--- a/wintable/new/resize.h
+++ b/wintable/new/resize.h
@@ -19,8 +19,8 @@ HANDLER(resizeHandler)
// TODO does wp store the window rect or the client rect?
if (GetClientRect(t->hwnd, &client) == 0)
panic("error getting Table client rect in resizeHandler()");
- // TODO do this before calling updateTableWidth() (which calls repositionHeader()?)?
- client.top -= t->headerHeight;
+ // TODO do this after calling updateTableWidth() (which calls repositionHeader()?)?
+ client.top += t->headerHeight;
// update the width...
// this will call repositionHeader(); there's a good reason... (see comments)