Problem with Table

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

Problem with Table

Postby avier5 » Mon Aug 02, 2004 5:04 am

Hi All,
I tried to build a table in a wizard page. The problem is that if I add to the table to many items the table gets bigger and also the wizard page becomes larger.

How can I prevent this from happening?

Thanks,

HBC
avier5
 
Posts: 41
Joined: Thu Jul 22, 2004 12:12 am

Re: Problem with Table

Postby Eric Clayberg » Mon Aug 02, 2004 12:22 pm

avier5 wrote:I tried to build a table in a wizard page. The problem is that if I add to the table to many items the table gets bigger and also the wizard page becomes larger. How can I prevent this from happening?

This depends a great deal on what layout manager you are using. If you are using GridLayout, for example, you would want to set an explicit height hint on the widget's GridData.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
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 1 guest