var x = Ext.getCmp('addBillingWin').getPosition()[0] + 305;
var y = Ext.getCmp('addBillingWin').getPosition()[1] + 60;
// 第三步:展示储值卡列表弹出窗口
var win = new Ext.Window({
title : '窗口',
//height : document.body.clientHeight / 1.1,
//autoHeight: true,
height: 300,
layout: 'fit',
autoScroll : true,
iconCls : "blist",
bodyStyle : 'padding:1px;',
width: 400,
//width : document.body.clientWidth / 1.1 + 100,
modal : true,
constrain : true,
collapsible : false, // 可折叠
resizable : false,
draggable : false,
pageX: x,
pageY: y,
buttonAlign : 'center'
});
win.show();
extjs 窗口位置相对于父窗口
最新推荐文章于 2018-02-07 16:27:16 发布