diff options
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) |
