Commit 6aa0421c authored by Jody Goldberg's avatar Jody Goldberg

Increase the Y scroll region in the canvas to allow for 64k rows.

parent 2348bf57
No preview for this file type
No preview for this file type
......@@ -982,7 +982,7 @@ gnumeric_sheet_new (SheetView *sheet_view, ItemBar *colbar, ItemBar *rowbar)
gsheet = gnumeric_sheet_create (sheet_view, entry);
/* FIXME: figure out some real size for the canvas scrolling region */
gnome_canvas_set_scroll_region (GNOME_CANVAS (gsheet), 0, 0, 1000000, 1000000);
gnome_canvas_set_scroll_region (GNOME_CANVAS (gsheet), 0, 0, 1000000, 1200000);
/* handy shortcuts */
gsheet_canvas = GNOME_CANVAS (gsheet);
......
......@@ -982,7 +982,7 @@ gnumeric_sheet_new (SheetView *sheet_view, ItemBar *colbar, ItemBar *rowbar)
gsheet = gnumeric_sheet_create (sheet_view, entry);
/* FIXME: figure out some real size for the canvas scrolling region */
gnome_canvas_set_scroll_region (GNOME_CANVAS (gsheet), 0, 0, 1000000, 1000000);
gnome_canvas_set_scroll_region (GNOME_CANVAS (gsheet), 0, 0, 1000000, 1200000);
/* handy shortcuts */
gsheet_canvas = GNOME_CANVAS (gsheet);
......
......@@ -167,7 +167,7 @@ new_canvas_bar (SheetView *sheet_view, GtkOrientation o, GnomeCanvasItem **itemp
if (o == GTK_ORIENTATION_VERTICAL){
w = 60;
h = -1;
gnome_canvas_set_scroll_region (GNOME_CANVAS (canvas), 0, 0, w, 1000000);
gnome_canvas_set_scroll_region (GNOME_CANVAS (canvas), 0, 0, w, 1200000);
} else {
w = -1;
h = 20;
......
......@@ -167,7 +167,7 @@ new_canvas_bar (SheetView *sheet_view, GtkOrientation o, GnomeCanvasItem **itemp
if (o == GTK_ORIENTATION_VERTICAL){
w = 60;
h = -1;
gnome_canvas_set_scroll_region (GNOME_CANVAS (canvas), 0, 0, w, 1000000);
gnome_canvas_set_scroll_region (GNOME_CANVAS (canvas), 0, 0, w, 1200000);
} else {
w = -1;
h = 20;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment