Hey,
I am pretty lost trying to find good examples of smartGwt. Can anyone help me figure out whats wrong with this code. This is normal GWT code that works (in onModuleLoad())
This smart GWT seems to hide my HTMLPanel:
Anyone any idea's???
Thanks,
John
I am pretty lost trying to find good examples of smartGwt. Can anyone help me figure out whats wrong with this code. This is normal GWT code that works (in onModuleLoad())
Code:
VerticalPanel main = new VerticalPanel();; main.setSize("100%","100%"); HTMLPanel htmlPanel = new HTMLPanel("<div id=\"vpChart1\" align=\"center\">WHERE AM I?</div>"); htmlPanel.setWidth("800"); htmlPanel.setHeight("800"); main.add(htmlPanel); RootPanel.get().add(main);
Code:
HLayout main = new HLayout(); main.setSize("100%","100%"); HTMLPanel htmlPanel = new HTMLPanel("<div id=\"vpChart1\" align=\"center\">WHERE AM I?</div>"); htmlPanel.setWidth("800"); htmlPanel.setHeight("800"); main.addMember(htmlPanel); RootPanel.get().add(main);
Thanks,
John
Comment