Don't cut descenders when rendering. (#118646, Charles Kerr)

2003-08-07  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering.  (#118646, Charles Kerr)
This commit is contained in:
Matthias Clasen 2003-08-06 22:56:50 +00:00 committed by Matthias Clasen
parent 8bc4568fa8
commit 6091eabc39
6 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering. (#118646, Charles Kerr)
2003-08-06 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :

View File

@ -1,3 +1,7 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering. (#118646, Charles Kerr)
2003-08-06 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :

View File

@ -1,3 +1,7 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering. (#118646, Charles Kerr)
2003-08-06 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :

View File

@ -1,3 +1,7 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering. (#118646, Charles Kerr)
2003-08-06 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :

View File

@ -1,3 +1,7 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering. (#118646, Charles Kerr)
2003-08-06 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :

View File

@ -1978,7 +1978,7 @@ draw_row (GtkCList *clist,
if (layout)
{
gint row_center_offset = 1.5 + (clist->row_height - logical_rect.height - 1) / 2;
gint row_center_offset = (clist->row_height - logical_rect.height) / 2;
if (clist->column[i].justification == GTK_JUSTIFY_RIGHT)
{