4.5 - Activities

Aaron J. Seigo aseigo at kde.org
Wed Mar 31 17:45:55 CEST 2010


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.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


More information about the Plasma-devel mailing list