提交 aa17c81b 编写于 作者: U unknown

自定义提交

上级 57d1c2a4
......@@ -268,7 +268,14 @@ o2.xDesktop.Dialog = o2.DDL = new Class({
this.fireEvent("restore");
},
reCenter: function(){
var size = this.node.getSize();
var size;
if( this.node.offsetParent === null ){ //如果是隐藏的
size = this.node.measure(function(){
return this.getSize();
});
}else{
size = this.node.getSize();
}
if( this.options.positionWidth ){
size.x = parseInt(this.options.positionWidth);
......
......@@ -1539,7 +1539,7 @@ MWF.xApplication.process.Work.Processor = new Class({
//var width = this.node.retrieve("width");
//empowerNode.setStyle( "width", width );
var width = "880";
var width = 840;
//if( len > 1 ){
// width = "840"
//}else{
......@@ -1556,9 +1556,17 @@ MWF.xApplication.process.Work.Processor = new Class({
"isResize": false,
"content": empowerNode,
//"container" : this.node,
"width": width, //600,
"width": width + 40, //600,
"height": "auto", //dlgHeight,
"mark" : false,
"onPostLoad" : function () {
if( this.nodeWidth ){
this.node.setStyle("width", this.nodeWidth+"px" );
}
if( this.nodeHeight ){
this.node.setStyle("height", this.nodeHeight+"px" );
}
},
"buttonList": [
{
"type" : "ok",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册