diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-10 15:37:52 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-10 15:37:52 -0500 |
| commit | 62a1db47566e1f31a9140fc8e8a3e35733a4e5ad (patch) | |
| tree | e8514fbabc46a0e6e93e7f096c91e22164e90dc5 /wintable/new/header.h | |
| parent | 4e21ee8b115c08a200d7b4f6dd97c4746ded59b4 (diff) | |
Wrote up the hscroll code. Not sure why it doesn't work yet. Not yet applied to headers or drawing.
Diffstat (limited to 'wintable/new/header.h')
| -rw-r--r-- | wintable/new/header.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wintable/new/header.h b/wintable/new/header.h index b992235..ba2d4d4 100644 --- a/wintable/new/header.h +++ b/wintable/new/header.h @@ -68,8 +68,8 @@ static void updateTableWidth(struct table *t) panic("error getting Table column width for updateTableWidth()"); t->width += item.cxy; } - // TODO replace this with a call to hscrollby(t, 0) - recomputeHScroll(t); + // do a dummy scroll to update the horizontal scrollbar to use the new width + hscrollby(t, 0); } HANDLER(headerNotifyHandler) |
