[Panel-devel] [PATCH] on icon resizing

Marco Martin notmart at gmail.com
Fri Dec 21 09:34:17 CET 2007


On Dec 21, 2007 6:17 AM, Aaron J. Seigo <aseigo at kde.org> wrote:
> On Thursday 20 December 2007, Marco Martin wrote:
> > about the icon widget i have another doubt: is the method calculatesize()
> > still needed at all?
>
> looking at it some more, some things need to die IMHO:
>
> - setIconSize: this implies that the icon can free change its size. i don't
> think that's realistic. if anything, we can limit the number of lines of
> text, but the size of the icon should just be figured out based on what the
> size() of the widget is
>
> - margins: not sure why this was added particularly, other than to make it
> work with icon views in Qt or whatever silly thing. but this gives rise to
> the problems that Craig is seeing. they should just be removed completely.
>
> Marco: feel like doing such code amputations? =)

this afternoon/evening when i go home i'll try to make a reasonable
patch that applies (don't know what went wrong)
when this is ok i'll try to do the amputations, i still have a ton of
questions about the code of the icon class, but at the moment my brain
it's a little bit turned off

Cheers,
Marco Martin

>
> --
> 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 Trolltech
>
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
>


More information about the Panel-devel mailing list