[Panel-devel] Layouts
Robert Knight
robertknight at gmail.com
Wed Sep 26 14:18:26 CEST 2007
> Shouldn't the widgets be inside the content rect?
Yes, I think the easiest solution would be to reimplement
setGeometry() inside the Applet class and then take account of the
border size there.
Regards,
Robert.
On 26/09/2007, Petri Damstén <petri.damsten at iki.fi> wrote:
> Hi,
>
> In Widget::setGeometry widget sets geometry for layout and uses boundingRect
> for that. If the widget is applet boundingRect contains applet borders and
> the layout is set to be too big. Looks like this (blue=applet content rect,
> red=widget): http://kotisivu.lumonetti.fi/damu0/images/layout1.png
> Shouldn't the widgets be inside the content rect?
>
> Petri
>
> --
> -----------------------------------------------------------------------------
> Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
> spread!
> -----------------------------------------------------------------------------
>
More information about the Panel-devel
mailing list