I am using UIBinder and MVP to construct View.  View ui.xml file is very 
simple (with DockLayoutPanel on the top):

<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder">
    <ui:style gss="true">
    .panelHeight {
        height: 300px;
    }
    </ui:style>
    <g:DockLayoutPanel unit="EM" addStyleNames="{style.panelHeight}">
        <g:north size="10">
            <g:HTMLPanel>Empty</g:HTMLPanel>
        </g:north>
        <g:east size="20">
            <g:HTMLPanel>Not empty </g:HTMLPanel>
        </g:east>
    </g:DockLayoutPanel>
</ui:UiBinder>

DockLayoutPanel is not a part of the other panel, but in JAVA EntyPoint I 
have this:

    private SimplePanel appWidget = new SimplePanel();

    .....
    activityManager.setDisplay(appWidget);
    .....
    RootPanel.get().add(appWidget);



So, I guess it should be part of SimplePanel isn't it?

I have noticed, that if I define height of the DockLayoutPanel manually (in 
PX) I am able to see all the components (look style block in example). 
DockLayoutPanel automatically takes full width, but not height. And I don't 
know how get full height automatically as well. 

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to