Fix alignment in register cells

Scott Oonk scott.oonk at
Wed Nov 9 22:53:37 EST 2005

This patch fixes some alignment problems in the register.

- Remove the pango_layout_set_alignment code.  Since we are rendering
a single line of text, the layout is only as wide as the text. 
Because of this, the alignment within the layout doesn't have any

- Use the same x_offset logic regardless of how we enter the cell.

- Make sure x_offset gets reset when changing cells via the keyboard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reset_xoffset.diff
Type: text/x-patch
Size: 4144 bytes
Desc: not available
Url :

More information about the gnucash-patches mailing list