TabLayoutPanel 不显示容器小部件的简单示例仅显示选项卡项。出了问题是它适用于 IE8
public class DemoGWT implements EntryPoint {
RootPanel rp = RootPanel.get();
public void onModuleLoad() {
TabLayoutPanel panel = new TabLayoutPanel(25, Unit.PX);
Label a = new Label("One Container");
panel.add(a, "One Hdr");
panel.add(new Label("Two Container"), "Two Hdr");
panel.add(new Label("Three Container"), "Three Hdr");
panel.add(new Label("Four Container"), "Four Hdr");
panel.add(new Label("Five Container"), "Five Hdr");
panel.add(new Label("Six Container"), "Six Hdr");
rp.add(panel);
}
}