Long scrollable form

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Long scrollable form

Postby TMehrens » Mon May 14, 2007 2:16 pm

I am trying to create a scrollable form that is three times longer that the shell it is in. I have put down a scrollable composite and a composite on top of that. The shell is set at 800 by 600. The scrollable composite is set at 800 by 590 and the composite is set at 800 by 1800. My problem is that when I get down to a certain point in the designer window I can’t see the controls I place past a certain point down the development window. They do show up if I select Test/Preview. What is even more puzzling is if I change my screen resolution from 1024 by 768 up to my maximum of 1280 by 1024 I can go further down the designer development area but it is still not far enough to complete the form I am working on. How do you resolve this so I can create a long form?

Thanks in Advance!
Posts: 7
Joined: Thu Feb 22, 2007 1:01 pm
Location: Helena, MT

Re: Long scrollable form

Postby Eric Clayberg » Mon May 14, 2007 5:42 pm

You need to create the Composite as a separate class and then place an instance of that class within the ScrolledComposite.
Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests