4.5 - Activities

Marco Martin notmart at gmail.com
Wed Mar 31 18:37:25 CEST 2010


On Wednesday 31 March 2010, Aaron J. Seigo wrote:
> On March 30, 2010, Chani wrote:
> > AppletIconWidget? it does all its own painting, and has some odd-looking
> > sizing code,
> 
> i suppose you are refering to resizeEvent? if so, it simply reserves enough
> space for one line of text below the icon and makes the icon size big
> enough to fill the rest.
> 
> > and I'm wondering if I can't just replace it with a subclass
> > of Icon and get things like corner-icons for free.
> 
> you might be able to; try it? Ana was running into all kinds of "doesn't
> look quite right" problems when using Plasma::Icon, but the widget
> explorer code has changed quite a bit since then so maybe things are
> better now. give it a try.
i suspect was mostly due to how difficult it is to have icons all of the same 
size
also layouting in IconWidget changed a bit, still gives a bit of headaches but 
should be slightly better

Cheers,
Marco Martin


More information about the Plasma-devel mailing list