GXT AbsoluteLayout

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

GXT AbsoluteLayout

Postby gaspo » Thu Oct 08, 2009 11:57 pm

I have found two small issues using the AbsoluteLayout in GXT (or maybe I do not fully understand how to use the designer):

1. Creating a new dialog box. When I add LayoutContainer and set its layout to AbsoluteLayout the designer does not show tool bar buttons (resize, align, etc) for arranging the widgets or form fields.

2. When I add to LayoutContainer (with AbsoluteLayout ) FieldSet and set its layout also to AbsoluteLayout then I can't properly move fields and widgets. I can drag widget to any desired location on the FieldSet but as soon as I release it the widget "jumps" away randomly 10-40 pixels in both directions. The only way I can position and size the widget is to manually modify it's left, top and width properties.

I have the latest WindowBuilder Pro 7.2 (Ubuntu 9.04 64-bit, JDK 1.6.0_16)
Last edited by gaspo on Fri Oct 09, 2009 8:30 pm, edited 1 time in total.
gaspo
 
Posts: 21
Joined: Thu Oct 08, 2009 11:28 pm

Re: GXT AbsoluteLayout

Postby bunyawat » Fri Oct 09, 2009 8:10 pm

I had found the same issue on the latest build on 10/10/09 as well.

- Add FormPanel to Composite
- Set AbsoluteLayout to FormPanel
- Add TextField to FormPanel
- Can not control component 's position

But when I change code to this it seem to work fine
- Add FormPanel to Composite
- Set FitLayout to FormPanel
- Add LayoutContainer to FormPanel
- Set AbsoluteLayout to LayoutContainer
- Add TextField to LayoutContainer
- Fine


OS Windows XP SP3
JDK 1.6
bunyawat
 
Posts: 21
Joined: Thu Aug 06, 2009 6:52 pm

Re: GXT AbsoluteLayout

Postby Eric Clayberg » Mon Oct 12, 2009 7:31 pm

Please give this a try using the latest GWT Designer v7.2 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

Re: GXT AbsoluteLayout

Postby gaspo » Tue Oct 13, 2009 9:13 am

Thank you for the quick update.
I have tried the latest version and the first problem with the toolbar on containers with absolute layout seem to be fixed.

The second problem is still there, however. I can't properly position widgets with the mouse inside the FieldSet with AbsoluteLayout.
To position and size widgets I have to manually set left,top,width properties.
gaspo
 
Posts: 21
Joined: Thu Oct 08, 2009 11:28 pm

Re: GXT AbsoluteLayout

Postby Eric Clayberg » Wed Oct 14, 2009 5:33 am

Please give this a try using the latest GWT Designer v7.2 build.

This was a problem with GXT FieldSets that requires a specific work around.
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

Re: GXT AbsoluteLayout

Postby gaspo » Thu Oct 15, 2009 5:27 am

Widget positioning inside the FieldSet now works great. Thank you.
There is still a small problem, though. Number of alignment buttons on the toolbar are still messing up the widgets position.
gaspo
 
Posts: 21
Joined: Thu Oct 08, 2009 11:28 pm

Re: GXT AbsoluteLayout

Postby Eric Clayberg » Fri Oct 16, 2009 5:16 am

Please give this a try using the latest GWT Designer v7.2 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

Re: GXT AbsoluteLayout

Postby gaspo » Fri Oct 16, 2009 8:05 am

Thank you for the fast fix. It all works fine now.
gaspo
 
Posts: 21
Joined: Thu Oct 08, 2009 11:28 pm

Re: GXT AbsoluteLayout

Postby Eric Clayberg » Fri Oct 16, 2009 10:15 am

I'm glad it works for you.
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 GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest