fix loading indicator position/size for tree leafs

This commit is contained in:
Andrew Dolgov 2017-01-21 22:30:20 +03:00
parent 7fbc10c236
commit b7d63a58db
2 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,11 @@
height : 9px;
}
.claro .dijitTreeNode .loadingExpando {
left : -3px;
height : 21px;
}
.claro .dijitFolderClosed,
.claro .dijitFolderOpened {
display : none;

View File

@ -386,6 +386,7 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"]
} else {
var icon = dojo.doc.createElement('img');
icon.src = src;
icon.className = 'loadingExpando';
domConstruct.place(icon, treeNode.expandoNode, 'only');
return true;
}