|Re: Adding a scroll to the Composite widget [message #465456 is a reply to message #465452]
||Wed, 14 December 2005 08:23
Originally posted by: friederich.kupzog.de|
Hi, this is ablsolutely right, but you are missing a few things.
Have a look into the Java doc for ScrolledComposite. You will see that
you have to call scrolledComposite.setContent() (I think) and
gridLayoutComposite.setSize() (I am sure).
Hope that helped,
Joseph Rignanese wrote:
> Thinking about it a little more.. Will this work:
> 1) create a ScrolledComposite with both scrollbars
> 2) create a Composite with the GridLayout using the ScrolledComposite as
> it's parent
> 3) add my controls to the Composite.
> I can't really think of a reason that it shouldn't.. but I'm pretty new to
> SWT and would appreciate any suggestions,
> Thanks in advance,
Elektronik & Software
Neusser Str. 5-7
Tel +49 241 9979356
Fax +49 221 726670
Powered by FUDForum
. Page generated in 0.01651 seconds