forked from AuroraMiddleware/gtk
Fix offset to center the underline in requested rectangle. (Ported from
2006-05-30 Behdad Esfahbod <behdad@gnome.org> * gdk/gdkpango.c (draw_error_underline): Fix offset to center the underline in requested rectangle. (Ported from pango fix.)
This commit is contained in:
parent
743c6be7e4
commit
416b66f3ab
@ -1,3 +1,8 @@
|
||||
2006-05-30 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
* gdk/gdkpango.c (draw_error_underline): Fix offset to center the
|
||||
underline in requested rectangle. (Ported from pango fix.)
|
||||
|
||||
2006-05-29 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkdialog.h: removed forgotten declaration of
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-05-30 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
* gdk/gdkpango.c (draw_error_underline): Fix offset to center the
|
||||
underline in requested rectangle. (Ported from pango fix.)
|
||||
|
||||
2006-05-29 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkdialog.h: removed forgotten declaration of
|
||||
|
@ -278,7 +278,7 @@ draw_error_underline (cairo_t *cr,
|
||||
double y_top, y_bottom;
|
||||
int i;
|
||||
|
||||
x += (width - width_units * unit_width);
|
||||
x += (width - width_units * unit_width) / 2;
|
||||
width = width_units * unit_width;
|
||||
|
||||
y_top = y;
|
||||
|
Loading…
Reference in New Issue
Block a user