Re: Warning while add a widget to absolute panel

2011-08-23 Thread Charan
Hi, I am adding the vertical panels into absolutepanel with absolute position not relatively like you mentioned absolutePanel.add(verticalPanel, 10, 99); --- Charan On Aug 23, 11:45 am, Sudhakar Abraham wrote: > In AbsolutePanel object set the size, add the widget to the > absolutepanel obj

Re: Warning while add a widget to absolute panel

2011-08-22 Thread Sudhakar Abraham
In AbsolutePanel object set the size, add the widget to the absolutepanel object. Try the following code. S, Abraham www.DataStoreGwt.com import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Style.Position; import com.google.gwt.us

Warning while add a widget to absolute panel

2011-08-22 Thread Charan
Warning: com.google.gwt.user.client.ui.AbsolutePanel descendants will be incorrectly positioned, i.e. not relative to their parent element, when 'position:static', which is the CSS default, is in effect. One possible fix is to call 'panel.getElement().getStyle().setPosition(Position.RELATIVE)'. --