SAPUI5主页在icontab上溢出,同时最大化窗口

时间:2016-09-28 04:26:45

标签: javascript sapui5

我正在开发应用程序[SAPUI5]。它是基于主要细节的Application.I我在Internet Explorer中面临问题,同时最大化窗口大小,我的页面内容不会变成原始大小。

var resizeListener = function(){
      $(window).one("resize",function(){ //unbinds itself every time it fires
          if(scroll_ID != undefined){
              var footerHeight = window.innerHeight - thatDetail.byId("SplitMasterFooterid").getDomRef().getBoundingClientRect().top;
              var tablePositionTop = thatDetail.byId(scroll_ID).getDomRef().getBoundingClientRect().top;
              var scrollHeight = window.innerHeight - footerHeight - tablePositionTop - 20; 
              thatDetail.byId(scroll_ID).setHeight(String(scrollHeight + "px"));  
        }         
        //resize things
        setTimeout(resizeListener,100); //rebinds itself after 100ms
      });
    }
    resizeListener();

谢谢。请帮我解决这个问题

0 个答案:

没有答案