toolkit.adapt after upgrading to 7.1

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

toolkit.adapt after upgrading to 7.1

Postby cyril.lakech » Thu Aug 13, 2009 7:41 am

Hi,

I upgrade my swtdesigner and then when I create a form composite (from the helper) and I add a component to its layout the toolkit.adapt method is no more call.

before with version 6.9

Label label = new Label(this, SWT.NONE);
toolkit.adapt(label , true, true);
label.setText("New Label");

after with version 7.1

Label label = new Label(this, SWT.NONE);
label.setText("New Label");

What is going on ?
cyril.lakech
 
Posts: 19
Joined: Tue Aug 19, 2008 11:35 pm

Re: toolkit.adapt after upgrading to 7.1

Postby Eric Clayberg » Fri Aug 14, 2009 10:19 am

Give this a try using the latest SWT Designer v7.1 build.
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: Google [Bot] and 2 guests