root panel - cannot set long size

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

root panel - cannot set long size

Postby hbozic » Wed Oct 25, 2006 11:31 am

I need a long form. But I cannot set the size of a root panel.

RootPanel rootPanel = RootPanel.get();
rootPanel.setSize("600px", "1600px");

does not work

Dragging the Root Panel longer in the designer does not work either.
hbozic
 
Posts: 5
Joined: Mon Oct 23, 2006 9:01 am

Re: root panel - cannot set long size

Postby Eric Clayberg » Fri Oct 27, 2006 5:29 am

Did you try setting the root panel's size property in the property pane?
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

the width or height properties for root panel

Postby hbozic » Tue Oct 31, 2006 10:44 am

changing the width or height in the properties does not change the size of the root panel -- dragging the root panel does not change the properties values height or width.
hbozic
 
Posts: 5
Joined: Mon Oct 23, 2006 9:01 am

Re: the width or height properties for root panel

Postby Eric Clayberg » Tue Oct 31, 2006 10:48 am

hbozic wrote:changing the width or height in the properties does not change the size of the root panel -- dragging the root panel does not change the properties values height or width.

Are you saying that the call to setSize() has no effect at runtime?
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 hbozic » Tue Oct 31, 2006 1:43 pm

Well, I never got that far.
The problem I am having is with the designer

to reproduce the problem

1. create a root panel with a size of 600px by 1600px
( the root panel cannot be made longer than 1009px )


2. add a tab panel in the root panel and make the size (230px,1200px)
( which is longer than the root panel)

3. add an absolute panel in the tab panel

4. try to add any widget ( e.g. button ) on the absolute panel at the 1100px mark
Although you are within the bounds of the absolute panel , you cannot drop the widget onto the surface.
hbozic
 
Posts: 5
Joined: Mon Oct 23, 2006 9:01 am

Postby Eric Clayberg » Fri Nov 03, 2006 6:05 am

Unfortunately, since we are actually manipulating live GWT widgets, we can't get an image of one that is larger than the physical size of your display.

The larger your physical (or virtual) display, the larger panel we can create (I can make one that is slightly less than 1200px tall).

We are exploring various work arounds, but have not found anything that helps yet.
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 3 guests