The number is too high.

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent";>
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
        xmlns:g='urn:import:com.google.gwt.user.client.ui'>
                <g:DockLayoutPanel unit='EM'>
                        <g:north size='5'>
                                <g:Label>Top</g:Label>
                        </g:north>
                        <g:center>
                                <g:Label>Body</g:Label>
                        </g:center>
                        <g:west size='15'>
                                <g:Label>West</g:Label>
                        </g:west>
                        <g:south size="3">
                                <g:Label>South</g:Label>
                        </g:south>
                </g:DockLayoutPanel>
</ui:UiBinder>



On Jan 24, 8:26 pm, Joe Hudson <[email protected]> wrote:
> Hello,
>
> I am new to GWT 2.0 and was trying out the uiBinder.  I have a simple
> test project to get my feet wet and it isn't working as expected.  I
> am only seeing the north and west sections in FireFox (not the center
> and south sections)  and in IE I see nothing at all.  Could anyone
> please help me understand what I am doing wrong?
>
> I do see the DOM for the missing sections (center and south) in
> Firebug but can't understand why they are not showing up.
>
> Thank you very much.
>
> ---------- FILES ---------
> public class Test implements EntryPoint {
>         @Override
>         public void onModuleLoad() {
>                 RootLayoutPanel.get().add(new MainPanel());
>         }}
>
> ----------------------------
> public class MainPanel extends Composite {
>
>         interface MyUiBinder extends UiBinder<DockLayoutPanel, MainPanel> {
>         }
>
>         private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
>
>         public MainPanel() {
>                 initWidget(uiBinder.createAndBindUi(this));
>         }}
>
> --------------------------
> <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
>         xmlns:g='urn:import:com.google.gwt.user.client.ui'>
>                 <g:DockLayoutPanel unit='EM'>
>                         <g:north size='5'>
>                                 <g:Label>Top</g:Label>
>                         </g:north>
>                         <g:center>
>                                 <g:Label>Body</g:Label>
>                         </g:center>
>                         <g:west size='210'>
>                                 <g:Label>West</g:Label>
>                         </g:west>
>                         <g:south size="3">
>                                 <g:Label>South</g:Label>
>                         </g:south>
>                 </g:DockLayoutPanel>
> </ui:UiBinder>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to