0
Lokk在此代碼;如何獲得SplitLayoutPanel的中央控件?
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中心的工具?
thax u非常,它的工作 – Tum