我正在使用GWT 2.4。我有一些簡單的內容的圖...GWT:如何將內容集中到面板中?
final Image ajaxImage = new Image("loading.gif");
final Grid grid = new Grid(1, 2);
grid.setText(0, 0, "Loading...");
grid.setWidget(0, 1, ajaxImage);
this.container = new FlowPanel();
this.container.add(grid);
rootPanel = new SimplePanel();
rootPanel.add(this.container);
我想此內容被在含面板,這是一個FlowPanel水平,垂直居中,如果該事項。我怎麼做?
謝謝, - 戴夫
工作就像一個魅力CSS在這個問題上混淆。謝謝!有一個CSS並行嗎? – 2013-08-16 14:10:49