[Panel-devel] Question reguarding Plasma::Icon->resize()

Marco Martin notmart at gmail.com
Fri Dec 21 09:36:48 CET 2007


On Dec 21, 2007 2:38 AM, Craig Duquette <cduquette at gmail.com> wrote:
> I'm calling Icon->resize(32, 32) on a 32by32px image and the image is
> actually being scaled down to something smaller than 32x32px. The
> image in turn looks blurry and out of focus due to the resizing.
> aseigo said it's probably taking into account borders and such, but is
> this working correctly? I'd assume that calling resize() or
> setMaximumSize() on an image wouldn't alter that image unless it
> exceeds that size.

yeah, it resizes athe bounding box with the icon acutually being
smaller then that due to margins and label
Cheers,
Marco Martin

> Thanks!
> Craig Duquette
> _______________________________________________
> 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