Browse Source

BI-49178 fix:修复叶子节点没有缩进的问题

master
Guyi 5 years ago
parent
commit
94082a5e77
  1. 4
      src/case/button/treeitem/item.multilayer.icon.treeleaf.js

4
src/case/button/treeitem/item.multilayer.icon.treeleaf.js

@ -42,7 +42,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.count(0, o.layer, function () { BI.count(0, o.layer, function () {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
width: 24, width: 15,
height: o.height height: o.height
}); });
}); });
@ -50,7 +50,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 24), columnSize: BI.makeArray(o.layer, 15),
items: [items] items: [items]
}); });
}, },

Loading…
Cancel
Save