Browse Source

【新项目】【看板项目】【模板设置窗口显示返回标题】

sunyj 8 years ago
parent
commit
1638aa76db

+ 7 - 3
kanban-console/src/main/webapp/resources/app/view/templatebuilderpanel.js

@@ -42,14 +42,18 @@ Ext.define('erp.view.templatebuilderpanel', {
 		            if(widthPercent&&heightPercent){
 		            	config = {
 			            	xtype:data.compData.config.xtype,
-			            	width:w*widthPercent/100-5,
-			            	height:h*heightPercent/100
+			            	width:w*widthPercent/100,
+			            	height:h*heightPercent/100,
+			            	x:0,
+			            	y:0
 			            }
 		            }else{
 		            	config = {
 			            	xtype:data.compData.config.xtype,
 			            	width:w*0.5,
-			            	height:h*0.5
+			            	height:h*0.5,
+			            	x:0,
+			            	y:0
 			            }
 		            }
 		            var component = me.add(config);