Fix alignment in register cells

Scott Oonk scott.oonk at gmail.com
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
effect.

- 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 : http://lists.gnucash.org/pipermail/gnucash-patches/attachments/20051109/650c7657/reset_xoffset.bin


More information about the gnucash-patches mailing list