I should note that when testing this patch, I also tried setting the
RATE_CELL to column 7 for the template register (8 for non-template) and
leaving column 8 blank, but I was told that the RATE_CELL needs to be the
last column.  When I tested a build with the RATE cell in col 7 for the
template register, the 5px empty column did appear to the right of the
template register.

Another option if no empty columns are allowed would be to either a) create
a BLANK_CELL type and use that to fill the void, or b) also set the number
of columns for the GENERAL_LEDGER to 8 for template registers instead of 9
which is required to add the running balance column.

-Tim

On Tue, Sep 29, 2009 at 10:30 AM, Derek Atkins <warl...@mit.edu> wrote:

> Christian Stimming <cs...@code.gnucash.org> writes:
>
> > -        gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7);
> > +        if (!reg->is_template)
> > +        {
> > +          gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7);
> > +        }
> >          gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8);
>
> Is it okay to skip a column like this?
>
> -derek
> --
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>       Member, MIT Student Information Processing Board  (SIPB)
>       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>       warl...@mit.edu                        PGP key available
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to