cannot access components, and some questions

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

cannot access components, and some questions

Postby alon24 » Sun Aug 03, 2003 6:30 am

Hi all

first of all very nice control...

but still I have a bit of a problem with it - scenario as follows:
1. add gridlayout, 2 coloums
2. add 2 components, grab h and v on both
3. add another component in the middle of the other 2
4.click somewhere
5.go to the third component and delete it
6. after some more work I cannot access the components on the screen , when i click on the right one (i have 2 components) it shows the main dialog component (not mine -dialogs)
the only way to highlight it is by the left panel (tree hirarchi).

this is not good, has any1 else seen this problem (using version 1.01, although ver 1.0 had the same problem).

also is there a way to change the layout of a component without deleting it and its children and putting another i its place?

also will u be adding support for context menues on the tree hirarchi?

Thanks, ILAN :wink:
alon24
 
Posts: 2
Joined: Sun Aug 03, 2003 6:14 am

Postby admin » Mon Aug 04, 2003 2:38 am

alon24 wrote:Hi all

first of all very nice control...

but still I have a bit of a problem with it - scenario as follows:
1. add gridlayout, 2 coloums
2. add 2 components, grab h and v on both
3. add another component in the middle of the other 2
4.click somewhere
5.go to the third component and delete it
6. after some more work I cannot access the components on the screen , when i click on the right one (i have 2 components) it shows the main dialog component (not mine -dialogs)
the only way to highlight it is by the left panel (tree hirarchi).

this is not good, has any1 else seen this problem (using version 1.01, although ver 1.0 had the same problem).

May be your problem is that componets does not fill cell? For GridLayout you see cells as blue and red rectangles. But control not always fills all cell. So, if you click in cell, you not always click in component.

alon24 wrote:also is there a way to change the layout of a component without deleting it and its children and putting another i its place?

You can move controls inside of parent using drag and drop.

alon24 wrote:also will u be adding support for context menues on the tree hirarchi?

We will consider this.

alon24 wrote:Thanks, ILAN :wink:
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Hi

Postby alon24 » Sat Aug 09, 2003 7:40 am

First of all my name is Ilan and my handle alon24

How do I fill the control cell?

I want to replace the layout in one move, like i have a gridlayout, and i want to replace it with fillaout and have the designer change all the layouts of every component on it to fit the new layout, this is like Borland JBUILDER which does this perfectly

THANKS Ilan
alon24
 
Posts: 2
Joined: Sun Aug 03, 2003 6:14 am

Re: Hi

Postby admin » Sun Aug 10, 2003 8:33 pm

alon24 wrote:First of all my name is Ilan and my handle alon24

How do I fill the control cell?

You can do this using on of three methods:
1. Use property table and change layoutData subproperties hAlign and vAlign to "fill".
2. Use mouse drag inside of cell without Ctrl for horizontal align and with Ctrl for vertical align.
3. Press 'f' to set horizontal align to fill and 'F' for vertical.

alon24 wrote:I want to replace the layout in one move, like i have a gridlayout, and i want to replace it with fillaout and have the designer change all the layouts of every component on it to fit the new layout, this is like Borland JBUILDER which does this perfectly

You can select property "layout" im property table and press "DEL". Designer will delete layout manager and you will able to drop another one.
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