6
GWT客戶機代碼上漿問題: - 對話框在約400像素切斷GWT對話框 - 當動畫啓用
DialogBox dialog = new DialogBox();
dialog.setAnimationEnabled(true);
SimplePanel panel = new SimplePanel();
panel.setPixelSize(800, 600);
dialog.setWidget(panel);
dialog.center();
與上面的代碼的對話框的寬度設置不正確。
沒有動畫啓用它工作正常,如下面的代碼片段:
DialogBox dialog = new DialogBox();
SimplePanel panel = new SimplePanel();
panel.setPixelSize(800, 600);
dialog.setWidget(panel);
dialog.center();
GWT版本2.04
火狐:3.6.9
鉻:6.0.472.55測試版
任何想法問題可能是?
啓動Firebug(或類似的工具),並檢查自己的區別是什麼:) – 2010-09-14 13:47:22