Browse Source

BI-49178 fix:修改仪表板复用列表间距

es6
Guyi 5 years ago
parent
commit
56e806f6bf
  1. 7
      src/case/button/node/node.icon.arrow.js
  2. 6
      src/case/button/node/node.multilayer.icon.arrow.js

7
src/case/button/node/node.icon.arrow.js

@ -62,16 +62,17 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, {
width: 24,
width: 16,
el: icon
}, this.text);
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, {
items: items
items: items,
rgap: 5
}))));
},

6
src/case/button/node/node.multilayer.icon.arrow.js

@ -7,7 +7,7 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 16,
iconWidth: 16,
iconCls: ""
@ -40,7 +40,7 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
BI.count(0, o.layer, function () {
items.push({
type: "bi.layout",
width: 24,
width: 15,
height: o.height
});
});
@ -48,7 +48,7 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 24),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},

Loading…
Cancel
Save