Don't use xthickness in the height calculation.

Sun Mar  7 22:24:28 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkbutton.c (_gtk_button_paint): Don't use xthickness in the
	height calculation.
This commit is contained in:
Matthias Clasen 2004-03-07 21:20:50 +00:00 committed by Matthias Clasen
parent e481ddd0e7
commit e2f66ec797
6 changed files with 26 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Mar 7 22:24:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.c (_gtk_button_paint): Don't use xthickness in the
height calculation.
Sun Mar 7 14:34:04 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (trap_activate_cb): stop activate

View File

@ -1,3 +1,8 @@
Sun Mar 7 22:24:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.c (_gtk_button_paint): Don't use xthickness in the
height calculation.
Sun Mar 7 14:34:04 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (trap_activate_cb): stop activate

View File

@ -1,3 +1,8 @@
Sun Mar 7 22:24:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.c (_gtk_button_paint): Don't use xthickness in the
height calculation.
Sun Mar 7 14:34:04 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (trap_activate_cb): stop activate

View File

@ -1,3 +1,8 @@
Sun Mar 7 22:24:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.c (_gtk_button_paint): Don't use xthickness in the
height calculation.
Sun Mar 7 14:34:04 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (trap_activate_cb): stop activate

View File

@ -1,3 +1,8 @@
Sun Mar 7 22:24:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.c (_gtk_button_paint): Don't use xthickness in the
height calculation.
Sun Mar 7 14:34:04 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (trap_activate_cb): stop activate

View File

@ -1042,7 +1042,7 @@ _gtk_button_paint (GtkButton *button,
x += widget->style->xthickness + focus_pad;
y += widget->style->ythickness + focus_pad;
width -= 2 * (widget->style->xthickness + focus_pad);
height -= 2 * (widget->style->xthickness + focus_pad);
height -= 2 * (widget->style->ythickness + focus_pad);
}
else
{