Plugin vs. icon sizes.

juha kautto.juha at
Sun Aug 13 11:20:25 CEST 2006

Benedikt Meurer kirjoitti:
> Jasper Huijsmans wrote:
>> Hey all,
>> This is especially important for plugin writers. I'd like to hear your 
>> opinion about something.
>> In bug #2084 benny notes that icons will become ugly when they have to 
>> be scaled and it would be nice if we would use commonly available sizes 
>> (48,32,24,...) even if the size is not exactly that value. This makes a 
>> lot of sense and is what gtk does when it selects icons from an icon theme.
>> Right, now let's think about how this could be implemented in the panel. 
>> The panel of course doesn't know anything about the plugins and simply 
>> passes on the size the user requested on to the plugins.
>> The easiest way to handle this, I think, is to change the interpretation 
>> of the plugin size to mean "icon size". This may be a bit awkward when a 
>> plugin doesn't use a button + icon, but shouldn't be too hard to handle.
>> The panel could even restrict the size to the common 'good' values and 
>> theme-dependent values for [xy]thickness and focus-padding, would not 
>> have any effect on icon size (and quality).
>> So, what do you think? Would this work?
> Yes, that sounds like the best solution to this issue, tho it might be
> tricky to get the size of other plugins like the pager correct.
Sometimes there is need to use more space in the "other"
direction, which does not affect the panel size. clock for
examle needs more space to show dates and weekday names. 
So, please, do not force the size.


More information about the Xfce4-dev mailing list