|
@@ -161,7 +161,7 @@ var TREE_SHEET_HELPER = {
|
|
|
},
|
|
|
showTreeData: function (setting, sheet, tree) {
|
|
|
let indent = 20;
|
|
|
- let levelIndent = -3;
|
|
|
+ let levelIndent = -5;
|
|
|
let halfBoxLength = 5;
|
|
|
let halfExpandLength = 3;
|
|
|
|
|
@@ -268,7 +268,7 @@ var TREE_SHEET_HELPER = {
|
|
|
}
|
|
|
};
|
|
|
// Draw Text
|
|
|
- x = x + (node.depth() + 1) * indent;
|
|
|
+ x = x + (node.depth() + 1) * indent + node.depth() * levelIndent;
|
|
|
GC.Spread.Sheets.CellTypes.Text.prototype.paint.apply(this, arguments);
|
|
|
};
|
|
|
TreeNodeCellType.prototype.getHitInfo = function (x, y, cellStyle, cellRect, context) {
|