Re: Resizing DockLayoutPanel child.

2010-05-04 Thread Stefan Bachert
Hi, what are you going to tell me or us? Stefan Bachert http://gwtworld.de On 2 Mai, 18:08, Gal Dolber gal.dol...@gmail.com wrote: package com.google.gwt.user.client.ui; import com.google.gwt.user.client.ui.DockLayoutPanel.Direction; import

Re: Resizing DockLayoutPanel child.

2010-05-02 Thread Stefan Bachert
Hi, 100% is evil. regardless on the rest of your topic. Setting width or height to 100% works sometimes with your browser, but 100% of what? 100% of the size of the This-widget, or of its parent? When using 100% as a value it is very likely to fail on some browser (mostly IE 8) Stefan Bachert

Re: Resizing DockLayoutPanel child.

2010-05-02 Thread Gal Dolber
package com.google.gwt.user.client.ui; import com.google.gwt.user.client.ui.DockLayoutPanel.Direction; import com.google.gwt.user.client.ui.DockLayoutPanel.LayoutData; /** * Dock layout util. */ public final class DockLayoutUtil { /** * Set layout. * @param widget Widget *

Re: Resizing DockLayoutPanel child.

2010-05-02 Thread Patrick Tucker
Have you tried putting the text editor in a panel that implements RequiresResize and manually setting the size of it in the onResize method? Or even extending the SplitLayoutPanel... On Apr 29, 9:28 pm, kirtcathey kirtcat...@gmail.com wrote: Any resolution on this one... I have a text editor in

Resizing DockLayoutPanel child.

2010-04-09 Thread dueckes
Hi all, I have a DockLayoutPanel with two children, one occupying the West Direction and the other Center. When a user clicks a button my intention is to resize the child in the West direction and have that stretch or shrink the size of the child at the Center direction accordingly. Playing