0
通常,滾動面板只有一列。如果我需要兩列,我該如何修改我的代碼?如何在GWT中的scrollpanel內創建兩個或更多colums?
ScrollPanel scrollPanel =new ScrollPanel(panel1);
scrollPanel.setSize("200px","100px");
DecoratorPanel decoratorPanel =new DecoratorPanel();
decoratorPanel.add(scrollPanel);
RootPanel.get("gwtContainer").add(panel);
RootPanel.get("gwtContainer").add(decoratorPanel);