Plugin vs. icon sizes.
benedikt.meurer at unix-ag.uni-siegen.de
Sun Aug 13 10:42:11 CEST 2006
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.
More information about the Xfce4-dev