提交 61739181 编写于 作者: U unknown

选择器的高度

上级 8f13b995
......@@ -120,7 +120,7 @@
},
"contentNode_embedded": {
"overflow": "hidden",
"padding" : "5px 0px 0px 0px"
"padding" : "4px 0px 0px 0px"
},
"selectNode": {
//"width": "200px",
......
......@@ -1516,6 +1516,8 @@ MWF.xApplication.Selector.Person = new Class({
},
setSize : function(){
debugger;
if( !this.options.width && !this.options.height )return;
var getOffsetX = function(node){
......@@ -1611,7 +1613,7 @@ MWF.xApplication.Selector.Person = new Class({
nodeHeight = this.options.height.toInt();
}
nodeHeight = nodeHeight - getOffsetY( this.contentNode );
nodeHeight = nodeHeight - getOffsetY( this.contentNode ) - 1;
if( this.titleNode ){
nodeHeight = nodeHeight - getOffsetY( this.titleNode ) - this.titleNode.getStyle("height").toInt();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册