Gtk 2.4.4: Smaller panel icons
Brian J. Tarricone
bjt23 at cornell.edu
Mon Jul 12 22:36:12 CEST 2004
On Mon, 12 Jul 2004, Bernhard Walle wrote:
> * Jasper Huijsmans <jasper at xfce.org> [2004-07-12 21:31]:
> > Bernhard Walle wrote:
> > >
> > > I use Xfce 4.0.6 and upgraded to Gtk 2.4.4. The result is that the
> > > panel icons are smaller than with Gtk 2.4.0.
> > >
> > > See http://turing.fh-landshut.de/~bwalle/screenshot.png
> > > and http://turing.fh-landshut.de/~bwalle/panel_new.png
> > >
> > > Is this intended, not possible in another way or a bug?
> > This is exactly what caused the cropped icons bug. You would have seen
> > that if you had used xfce 4.0.5. Gtk changed the size allocation for
> > buttons to include padding for a focus indicator, which leaves less
> > space for the icon; how much less depends on the theme.
> I saw that GtkButton::focus-padding in the theme setting is
> responsible for this.
> Is there no way to apply another setting only for panel buttons? In
> "Very small" mode, the icons are a bit too small now, in my opinion.
you could probably do that like so:
g_object_set(G_OBJECT(button), "focus-padding", some_small_int, NULL);
but i'm not sure of the wisdom in messing with people's themes...
More information about the Xfce4-dev