From 378a6f50b70862546012879650874e8b25d89973 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 6 Sep 2022 11:55:14 +0200 Subject: [PATCH] Get tree icons the same size as buttons --- api/js/dhtmlxtree/sources/dhtmlxtree.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/js/dhtmlxtree/sources/dhtmlxtree.js b/api/js/dhtmlxtree/sources/dhtmlxtree.js index 08f3511f37..f464a3dbc7 100644 --- a/api/js/dhtmlxtree/sources/dhtmlxtree.js +++ b/api/js/dhtmlxtree/sources/dhtmlxtree.js @@ -65,10 +65,10 @@ function dhtmlXTreeObject(htmlObject, width, height, rootId){ this.height=height; this.rootId=rootId; this.childCalc=null; - this.def_img_x="18px"; - this.def_img_y="18px"; - this.def_line_img_x="18px"; - this.def_line_img_y="18px"; + this.def_img_x="20px"; + this.def_img_y="20px"; + this.def_line_img_x="20px"; + this.def_line_img_y="20px"; this._dragged=new Array(); this._selected=new Array(); @@ -3170,7 +3170,7 @@ dhtmlXTreeObject.prototype._createDragNode=function(htmlObject,e){ var text=new Array(); if (this._itim_dg) for (var i=0; i"+this._selected[i].span.innerHTML+""; + text[i]="
"+this._selected[i].span.innerHTML+"
"; else text=this.getSelectedItemText().split(this.dlmtr);