I'm using GXT with GWTP and have the following UiBinder XML to create a relatively simple View. The ToolBar is placed and sized correctly in the West, but its buttons get stacked on top of each other.
In the ToolBar's HBoxLayoutContainer's doLayout(), I can see that the offsetWidth of the TextButtons is zero. Any ideas why?
I have similar code elsewhere with the expected results. The obvious difference is in that case I'm using setInSlot -- specifically I'm calling setInSlot for a View which contains a clone of the above "myHtmlPanel". I suspect this causes another round of layout / sizing. However, my attempts to use forceLayout haven't helped in the case where I'm not using slots.
<g:SplitLayoutPanel width="100%" height="100%">
<g:HTMLPanel ui:field="myHtmlPanel" width="100%" height="100%">
<toolbar:ToolBar width="300px" height="30px" ui:field="myToolbar">
<button:TextButton ui:field="newButton" text="New"/>
<button:TextButton ui:field="delButton" text="Delete"/>
<g:ScrollPanel ui:field="myScrollPanel" width="300px" height="100%"/>
<!-- remainder omitted -->