SWT.SMOOTH & SashForm

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

SWT.SMOOTH & SashForm

Postby oryan_dunn » Fri Mar 20, 2009 3:08 pm

I spent quite a bit of time searching for a way to have a SashForm update as I was dragging the sash; after many dead ends, I finally stumbled upon the SWT.SMOOTH style (edit: also requires one to setMaximizedControl as well). Why is this not listed in the SWT Designer for the SashForm under style?

second edit:
After playing around with it some more, you don't need to set the maximized control. The test i did was to create a class that extended the ViewPart, used the designer to add a sashform, added a tree and a table, clicked over to the source changed the SWT.NONE to SWT.SMOOTH (at this point, the preview still is the vertical line on a drag), then switch back to the designer, then open the preview.
oryan_dunn
 
Posts: 1
Joined: Fri Mar 20, 2009 2:53 pm

Re: SWT.SMOOTH & SashForm

Postby Eric Clayberg » Wed Mar 25, 2009 6:23 am

Give this a try using the latest SWT Designer 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: No registered users and 2 guests