resizing in new panel

Jasper Huijsmans jasper at xfce.org
Sun Feb 26 22:55:44 CET 2006


Brian J. Tarricone schreef:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Jasper Huijsmans wrote:
>> Jani Monoses schreef:
>>> Hello Jasper
>>>
>>> I encounter the following issues with the new panel (r20099)
>>> 1) a launcher with an icon of 64x64 does not scale up as much as one 
>>> with 48x48, for a while they grow together but after that only the 48 
>>> one  stretches
>> Strange. I just call xfce_themed_icon_load(). This might be gtk icon 
>> theme behavior.
> 
> IIRC this is one of the problems I had with GtkIconTheme.  I think
> there's a certain threshold after which GtkIconTheme won't scale icons
> up (the rationale being that it looks ugly).  If that's still the case,
> I can add a little code to xfce_themed_icon_load() to check the icon
> size and rescale if needed, but I'm not sure that's the best idea, both
> for lack of ugliness, and speed.  Thoughts?
> 

Scaling up usually gets ugly very quickly. People who want big icons 
should use SVG themes ;-)

>>> 2) the icon in the systray remain small
>> Yeah, well. The available space is increasd, I have no idea how XEMBED 
>> is notifying the client of changes. The systray is probably supposed to 
>> have small icons. Multiple rows could be interesting.
> 
> Actually, that *would* be cool.  I haven't yet seen a systray icon that
> actually resizes itself when the tray gets larger (not that I've seen
> many).  Perhaps we should do as the tasklist does and spill out into two
> rows if the panel size is large enough.  It would be a nice space-saver.
> 

It would indeed.

	Jasper



More information about the Xfce4-dev mailing list