forked from AuroraMiddleware/gtk
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:
parent
e481ddd0e7
commit
e2f66ec797
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user