2012-06-07 38 views

回答

0

它通過使用此代碼解決:

var S = this.tabpanelFormation.getPosition(); 
    if (Ext.isIE8 && S[0] == 751) { 
      this.tabpanelFormation.setPagePosition(749,370,true); 
      this.tabpanelFormation.setHeight(230); 
      this.tabpanelFormation.setWidth(350); 
    } 

如果它最大化時,S [0] = 751。通過這一點,我們可以發現激起我使用Ext.TabPanel

0

以掃描通過他們的文檔在這裏: http://docs.sencha.com/ext-js/3-4/#!/api

可以使用window.screen.width和window.screen.height得到屏幕的尺寸被使用。

那麼你可以使用爲getPosition(),並確保它是在0,0 和使用的getHeight()和的getWidth(),並確保它們符合屏幕尺寸。

+0

嗨@Caleb – user1409732

相關問題