[Panel-devel] Panel contentSize

Sebastian Kügler sebas at kde.org
Mon Nov 26 12:36:20 CET 2007


On Monday 26 November 2007 12:32:30 Sébastien Le Ray wrote:
> Trying to fit an applet to the inner size of the panel (to avoid the
> hardcoded 48 value everywhere)... Should I use the layout margins ?

contentSize() returns a height of 48 in the panel, no? The width needs to be 
set accordingly, but I'd wait fixing that until the panel layout has the 
necessary features -- i.e. is able to do something sensible with 
contentSizeHint() from the applet.
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071126/ba49c235/attachment.pgp 


More information about the Panel-devel mailing list