Move multiple controls in one go

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

Move multiple controls in one go

Postby pijn_mar » Thu Jun 02, 2005 10:41 pm

I'm evaluating SWT designer now for one day and now already love using it :-)

I would like to know if it is possible to select multiple controls (using marquee?) and then move position of all selected controls on a FormLayout by just moving mouse?
pijn_mar
 
Posts: 6
Joined: Thu Jun 02, 2005 10:36 pm

Re: Move multiple controls in one go

Postby Eric Clayberg » Fri Jun 03, 2005 6:05 am

pijn_mar wrote:I would like to know if it is possible to select multiple controls (using marquee?) and then move position of all selected controls on a FormLayout by just moving mouse?

Use the Marquee command in the tool palette to select multiple widgets.

To move multiple widgets using FormLayout, you need to be using the latest v4.0.1 build (2005.06.03 or later).
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

Postby pijn_mar » Fri Jun 03, 2005 8:01 am

Thanks indeed it is working now :-)

One thing I noticed in the new build is the initial height of the text control is changed it is bigger than usual.

Is there a control availble that allows to include an image on a form?

A nice feature would be to have the possibility to space multiple selected controls evenly, not only related to form, but also between eg top control and bottom control in range of selected controls. I recall the delphi ide having such an option...
pijn_mar
 
Posts: 6
Joined: Thu Jun 02, 2005 10:36 pm

Postby Eric Clayberg » Fri Jun 03, 2005 12:41 pm

pijn_mar wrote:One thing I noticed in the new build is the initial height of the text control is changed it is bigger than usual.

Nothing in Designer has changed that would affect the height of a text control. That height is determined by the font you are using and the layout manager you are using.

pijn_mar wrote:Is there a control availble that allows to include an image on a form?

The SWT Label widget is good for that.

pijn_mar wrote:A nice feature would be to have the possibility to space multiple selected controls evenly, not only related to form, but also between eg top control and bottom control in range of selected controls. I recall the delphi ide having such an option...

That is already available using the "Space equally" functions on the toolbar. Selecting the command by itself will distribute the selected widgets evenly between opposite sides of the form. Holding down the Ctrl key will distribute the widgets evenly between the widgets on each end of the selection (at least three widgets must be selected).
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