20 Jan 2013 7:11 PM #1
Answered: problem of displaying TabPanel
i add tabitemconfig on tabpanel like this:
panel = new TabPanel(); AlertPanel alertPanel = new AlertPanel(); TabItemConfig config_alertpanel = new TabItemConfig("alert"); config_alertpanel.setIcon(Resources.IMAGES.alert()); panel.add(alertPanel.asWidget(),config_alertpanel);
there is a spacing , how to fix it ,thanks
Follow the instructions in the setup.txt file - you are missing the reference to the reset.css file, or it isn't loading correctly. If firebug/chrome inspector doesn't show the browser trying (and failing) to load this file, you are missing the line - if it does show it, look at the error message to see how to resolve this issue.