Feature request: using absolute layout coordinates

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

Feature request: using absolute layout coordinates

Postby tanacs » Mon Aug 11, 2003 1:57 am

Hi,

I am the development manager of a smaller Java project. Our system is SWT based, but instead of using layout strategies we explicitely define the size and place of each control (basically with the setBounds method). This approach was requested from our customer, and there is no way to change it, even though it is NOT considered to be the best way to lay out components.
I understand the SWT editor in its present form is not able to manage components without a specific layout. It would be great to have the opportunity to define these explicitly either with a new layout (like XYLayout) our with the ability to use components without layouts, and provide exact coordinates for the controls on them.

Best regards,
Lajos Tanács
e-mail: lajos.tanacs@pylon.de
tanacs
 
Posts: 1
Joined: Mon Aug 11, 2003 1:33 am
Location: Hamburg, Germany

Postby admin » Mon Aug 11, 2003 3:37 am

Ok, we will implement support for setBounds in next build.
Most probably you will need to enable absolute layout in preferences, because using it, as you understand, is bad thing.
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby asamoal » Wed Aug 13, 2003 11:31 pm

admin wrote:Ok, we will implement support for setBounds in next build.
Most probably you will need to enable absolute layout in preferences, because using it, as you understand, is bad thing.


While we are on the layouts subject what about the form layout? when do you have the impl for that?
Code: Select all

shell.setLayout(new FormLayout());


and this

Code: Select all
Shell_1.setLayout(new StackLayout());
//Leslie
asamoal
 
Posts: 24
Joined: Wed Aug 13, 2003 2:56 am
Location: Finland

Postby admin » Wed Aug 13, 2003 11:35 pm

asamoal wrote:
admin wrote:Ok, we will implement support for setBounds in next build.
Most probably you will need to enable absolute layout in preferences, because using it, as you understand, is bad thing.


While we are on the layouts subject what about the form layout? when do you have the impl for that?
Code: Select all

shell.setLayout(new FormLayout());

I know what is FormLayout, thanks. :-)

BTW, I should notice that absolute layout is almost ready, just some testing needed. We also support configurable grid - without it very hard to put controls precise.

We will support FormLayout, we have interesting discussion in private mail about MAC's InterfaceBuilder and think that we can use some ideas for FormLayout.
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am


Return to SWT Designer

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest