[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: No resize event for kicker applet
From: Joe Ferris <jferris () trueforum ! com>
Date: 2003-09-07 23:18:34
[Download RAW message or body]
On Sunday 07 September 2003 7:07 pm, Aaron J. Seigo wrote:
> On Saturday 06 September 2003 12:59, Joe Ferris wrote:
> > I'm trying to make a kicker applet, but I'm running into trouble. For
> > some
>
> have you reimplemented KPanelApplet::widthForHeight and
> KPanelApplet::heightForWidth, and do they return the proper values?
>
> if so, is there a URL where i could look at your code somewhere?
Thank you for your reply.
After reading the documentation for widthForHeight and heightForWidth, I have
figured out how to correctly resize my applet. However, the height() (for
horizontal orientation) and width() (for vertical orientation) calls do not
return the proper values. It doesn't seem like there's a way to directly find
an applet's size. However, from looking at the code of other applets, I may
be able to get around this by giving the applet a layout.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic