r18023 - gnucash/trunk/src/register/register-gnome - Bug #432021: Register: Recompute block offsets if the cell heights may have changed.
Charles Day
cedayiv at code.gnucash.org
Mon Apr 6 12:27:21 EDT 2009
Author: cedayiv
Date: 2009-04-06 12:27:21 -0400 (Mon, 06 Apr 2009)
New Revision: 18023
Trac: http://svn.gnucash.org/trac/changeset/18023
Modified:
gnucash/trunk/src/register/register-gnome/gnucash-sheet.c
Log:
Bug #432021: Register: Recompute block offsets if the cell heights may have changed.
Modified: gnucash/trunk/src/register/register-gnome/gnucash-sheet.c
===================================================================
--- gnucash/trunk/src/register/register-gnome/gnucash-sheet.c 2009-04-06 16:21:02 UTC (rev 18022)
+++ gnucash/trunk/src/register/register-gnome/gnucash-sheet.c 2009-04-06 16:27:21 UTC (rev 18023)
@@ -1097,7 +1097,10 @@
}
if (allocation->width != sheet->window_width)
+ {
gnucash_sheet_styles_set_dimensions (sheet, allocation->width);
+ gnucash_sheet_recompute_block_offsets (sheet);
+ }
sheet->window_height = allocation->height;
sheet->window_width = allocation->width;
More information about the gnucash-changes
mailing list