mirror of https://github.com/GNOME/gimp.git
Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimpcellrenderertoggle.c: reduce horizontal space around buttons. svn path=/branches/weskaggs/; revision=25015
This commit is contained in:
parent
5f2bd66f20
commit
249ea51e64
|
@ -1,3 +1,8 @@
|
|||
2008-03-03 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* libgimpwidgets/gimpcellrenderertoggle.c: reduce horizontal
|
||||
space around buttons.
|
||||
|
||||
2008-03-03 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* app/display/gimpdisplayshell.[ch]: when we have a scratch
|
||||
|
|
|
@ -242,8 +242,9 @@ gimp_cell_renderer_toggle_get_size (GtkCellRenderer *cell,
|
|||
pixbuf_width = gdk_pixbuf_get_width (toggle->pixbuf);
|
||||
pixbuf_height = gdk_pixbuf_get_height (toggle->pixbuf);
|
||||
|
||||
calc_width = (pixbuf_width +
|
||||
(gint) cell->xpad * 2 + widget->style->xthickness * 2);
|
||||
/* calc_width = (pixbuf_width + */
|
||||
/* (gint) cell->xpad * 2 + widget->style->xthickness * 2); */
|
||||
calc_width = pixbuf_width;
|
||||
calc_height = (pixbuf_height +
|
||||
(gint) cell->ypad * 2 + widget->style->ythickness * 2);
|
||||
|
||||
|
@ -419,6 +420,7 @@ gimp_cell_renderer_toggle_new (const gchar *stock_id)
|
|||
{
|
||||
return g_object_new (GIMP_TYPE_CELL_RENDERER_TOGGLE,
|
||||
"stock_id", stock_id,
|
||||
"xpad", 0,
|
||||
NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue