]> Pileus Git - ~andy/gtk/commit
Fix alignment problems with text cell renderers
authorMatthias Clasen <mclasen@redhat.com>
Sun, 23 Jan 2011 04:23:46 +0000 (23:23 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 23 Jan 2011 04:23:46 +0000 (23:23 -0500)
commit09bf05bd578685a43f9e225b54cdf7d878b03523
treeea2a26399a04aca94d1c4c45cb43b0cd9826dac3
parent936f74c7621e252cf05c63e236be38ac4e6634e0
Fix alignment problems with text cell renderers

When set to PANGO_ALIGN_CENTER, text was rendered off-center
by the amount of 'free space' that the PangoLayout left (ie
the x returned by pango_layout_get_pixel_extents).
gtk/gtkcellrenderertext.c