|
|
Re: Adding a scroll to the Composite widget [message #465456 is a reply to message #465452] |
Wed, 14 December 2005 08:23 |
Eclipse User |
|
|
|
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,
Friederich
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,
> Joe
>
>
--
Friederich Kupzog
Elektronik & Software
Neusser Str. 5-7
50670 Köln
Tel +49 241 9979356
Fax +49 221 726670
www.kupzog.de/fkmk
|
|
|
Powered by
FUDForum. Page generated in 0.02912 seconds