On Thu, Feb 25, 2010 at 10:29 PM, Antony Loebs
<barefootedjournal...@gmail.com> wrote:
>  I have been trying to figure out how to display a rectangular image in the
> panel to use as a button. The image itself is 30x120, but I can't get it to
> display to my satisfaction. If I use IconWidget, the image is squashed into
> a square. If I use PushButton, the image is likewise squashed by the
> button's borders. I tried changing the stylesheet for the button, setting
> margin and padding to 0, but with no success. Below is the sample code (the
> PushButton code is commented out).

to just display an image you probably want to use Label (yes, it can
display images and a click signaliirc)

Cheers,
Marco Marton
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to