Nested Layout Issues

2010-10-05 Thread Chris Boldon
I'm creating an application with a view based upon the DockLayoutPanel. I initialize a DockLayoutPanel and add SimplePanels to the north, south, west, and center docks so I can pass them to the Presenters. The presenter then adds a custom widget to the to the SimplePanel. The custom widget

Re: Nested Layout Issues

2010-10-05 Thread Falcon
In general, the *LayoutPanels need one of the LayoutPanels as their parents because of the absolute positioning CSS magic GWT is doing to make the layouts work. You can switch to using one of the LayoutPanels as a parent; set a height value for the StackLayoutPanel in your code (which is obviously

Re: nested layout issues

2010-06-02 Thread Magnus
Hi, well, to center my main panel horizontally and vertically, I need a method to set the alignment. These methods are provided by Horiziontal/ VerticalPanel, but not by DockLayoutPanel. Or am I wrong? Thanks Magnus On 1 Jun., 23:32, kozura koz...@gmail.com wrote: although given that you are

Re: nested layout issues

2010-06-02 Thread kozura
Did you figure out the problem with the outer-most DockLayoutPanel? Not knowing the intended design of your app, a LayoutPanel can create a centered region of a particular size, either relative with percentages or fixed. But, without some gymnastics it won't center something based on the final

nested layout issues

2010-06-01 Thread Magnus
Hi, my WebApp has an outer DockLayoutPanel, where the borders build the edges of the screen. Within its center, I have a VerticalPanel. The vertical one contains a MenuBar at the top, a statusbar at the bottom, and a HorizontalPanel in the middle. The HorizontalPanel is the main or client panel,

Re: nested layout issues

2010-06-01 Thread kozura
The DockLayoutPanel should take up the entire browser window when added to the RootLayoutPanel, regardless of its contents or the setSize 100% call. Did you make sure that your html document has ! DOCTYPE html at the top to put it into standards mode? I don't offhand see anything problematic in