|
|
@@ -177,13 +177,18 @@ MWF.xApplication.process.ProcessManager.Explorer = new Class({
|
|
|
}.bind(this));
|
|
|
},
|
|
|
setContentSize: function(){
|
|
|
+ debugger;
|
|
|
if (this.elementContentListNode){
|
|
|
var toolbarSize = (this.toolbarNode) ? this.toolbarNode.getSize() : {"x": 0, "y": 0};
|
|
|
var nodeSize = (this.node) ? this.node.getSize() : {"x": 0, "y": 0};
|
|
|
+ var categorySize = this.categoryElementNode ? this.categoryElementNode.getSize() : {"x": 0, "y": 0};
|
|
|
+
|
|
|
+ console.log("categorySize.y="+categorySize.y);
|
|
|
+
|
|
|
var pt = this.elementContentNode.getStyle("padding-top").toFloat();
|
|
|
var pb = this.elementContentNode.getStyle("padding-bottom").toFloat();
|
|
|
|
|
|
- var height = nodeSize.y-toolbarSize.y-pt-pb;
|
|
|
+ var height = nodeSize.y-toolbarSize.y-categorySize.y-pt-pb;
|
|
|
this.elementContentNode.setStyle("height", ""+height+"px");
|
|
|
|
|
|
var count = (nodeSize.x/282).toInt();
|
|
|
@@ -226,6 +231,10 @@ MWF.xApplication.process.ProcessManager.Explorer = new Class({
|
|
|
}.bind(this));
|
|
|
}
|
|
|
this.loadCategoryList();
|
|
|
+ if( !this.isSetContentSize ){
|
|
|
+ this.setContentSize();
|
|
|
+ this.isSetContentSize = true;
|
|
|
+ }
|
|
|
}.bind(this));
|
|
|
},
|
|
|
loadCategoryList: function(){
|