aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-26 03:27:46 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-26 03:27:46 +0800
commit60f52f5eaedd302180188c671ab9298b23119930 (patch)
treec1982dcc66640dfecf8b90e71315a41db1042521 /widgets/table/e-table.c
parentd306c2932807d068f453196abd3ca39580c4039a (diff)
downloadgsoc2013-evolution-60f52f5eaedd302180188c671ab9298b23119930.tar
gsoc2013-evolution-60f52f5eaedd302180188c671ab9298b23119930.tar.gz
gsoc2013-evolution-60f52f5eaedd302180188c671ab9298b23119930.tar.bz2
gsoc2013-evolution-60f52f5eaedd302180188c671ab9298b23119930.tar.lz
gsoc2013-evolution-60f52f5eaedd302180188c671ab9298b23119930.tar.xz
gsoc2013-evolution-60f52f5eaedd302180188c671ab9298b23119930.tar.zst
gsoc2013-evolution-60f52f5eaedd302180188c671ab9298b23119930.zip
Account for extra pixel at right end of ETable.
2000-05-25 Christopher James Lahey <clahey@helixcode.com> * e-table-header.c: Account for extra pixel at right end of ETable. * e-table-item.c: Make grid less intrusive. * e-table.c: Make scrollbars disappear when appropriate. svn path=/trunk/; revision=3206
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 11826cd109..225880705b 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -171,9 +171,10 @@ table_canvas_reflow (GnomeCanvas *canvas, ETable *e_table)
"height", &height,
"width", &width,
NULL);
+ /* I have no idea why this needs to be -1, but it works. */
gnome_canvas_set_scroll_region (
GNOME_CANVAS (e_table->table_canvas),
- 0, 0, MAX(width, alloc->width), MAX (height, alloc->height));
+ 0, 0, MAX((int)width, alloc->width) - 1, MAX ((int)height, alloc->height) - 1);
}
static void