I am using RowLayout for a container. The layout is having the Horizontal Orientation. I do not specify any height to the container. I expect it to get the height based on the height of its children. But GXT does not show the children of the container at all unless I explicitly specify height to it.Is there a way to make the container to get the height depending on its children without specifying the height when using RowLayout with Horizontal Orientation?

Code:
   public class RowLayoutNoHeight implementsEntryPoint {
         publicvoid onModuleLoad() {
ContentPanelcp = new ContentPanel();
cp.setSize(300,400);

finalLayoutContainer innerPanel = new LayoutContainer();
innerPanel.setBorders(true);
innerPanel.setLayout(newRowLayout(Orientation.HORIZONTAL));

TextfirstText = new Text("First text");
TextsecondText = new Text("Second text");

//Here, innerPanel will not have any height. That is, I don't see the
//text components in the UI
innerPanel.add(firstText,new RowData(1, -1));
innerPanel.add(secondText,new RowData(1, -1));

ViewportviewPort = new Viewport();

cp.add(innerPanel);
viewPort.add(cp);
RootPanel.get().add(viewPort);        
      }
    }
GWT version - 2.4 GXT Version - 2.2.5 Browser- IE 8 and Firefox 7.0.1

Thanks,
Ganesh