all layout panels have to be placed under other layout panels otherwize they
won't render properly as the resizing would not work automatically. You can
alternatively use a ResizeLayoutPanel which is an extension of a
SimplePanel. Use it instead of the simple panel.
On Tue, Jul 19, 2011 at 3:59
Ok, another follup to my own question. I have named the root
DockLayoutPanel like so:
I add and remove panels like this.
rootDockLayoutPanel.remove(4);
rootDockLayoutPanel.add(new SomePanel());
Is there a better way to remove the center panel than use constant 4 ??
--
You received this messa
In the above, the splitlayoutpanel does not show inside a
SimplePanel.
This displays the splitlayoutpanel...
But how can you then replace the splitlayoutpanel with another layout
panel ??
Basically, i want to replace
Now I have a another, similar problem. I want to put into the center
panel (below) a split layer panel that fills the entire center screen.
How do you do that??
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post
Very good.
if you are doing more than one image then placing them relative to each
other would be difficult using a HTMLPanel and table combination. In those
instances you can use an absolute panel
On Mon, Jul 18, 2011 at 11:34 PM, JC wrote:
> It was frustrating but in the end I figured it ou
It was frustrating but in the end I figured it out by using HTMLPanel:
use an absolute panel and render the image inside it. use absolute position
to render your images at the prescribed positions.
regards
Ashwin
On Mon, Jul 18, 2011 at 9:00 PM, JC wrote:
> I have a DockLayout Panel. I want to place an image into the center
> of: . If I add the image to or nest i
Did you set up properly the size of each part? I really haven't tested
it but it seems that if you don't put a size to the rest of elements,
the center will take all the space possible.
Reading the documentation:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui
I have a DockLayout Panel. I want to place an image into the center
of: . If I add the image to or nest it within a
SimplePanel, HTMLPanel, Grid etc - it always appears at the top left.
How can I place the image in the center of the panel ??
--
You received this message because you are subscrib