Hey,

2011/6/21 tusi <[email protected]>:
> Hi All,
>
> I would like to draw something on WPaintedWidget, which size is larger
> than the client (browser) size. Therefore, I put it into a WScrollArea,
> but I could not set the width of the scroll area correctly, e.g. to the
> width of the client, because using "100%" sets the width of the scroll
> area as large as is the width of the inner WPaintedWidget and not the
> size of the client width. How can I set the width of a WScrollArea
> exactly the same as the width of the client?

That is what a layout manager will do for you: put the WScrollArea in
a layout manager (e.g. WVBoxLayout).

Regards,
koen

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to