看看这段代码;
SplitLayoutPanel splitLayoutPanel=new SplitLayoutPanel();
splitLayoutPanel.addWest(new Label("west"), 200);
splitLayoutPanel.add(new Label("center"));
然后
Label myWestLb= (Label)splitLayoutPanel.getWidget(0); //this code is ok, no problem
Label myCentralLb= (Label)splitLayoutPanel.getWidget(1); //this code got error
有谁知道如何获取添加到SplitLayoutPanel中心的Widget?
答案 0 :(得分:1)