|
|
@ -40,7 +40,7 @@ BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); |
|
|
|
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); |
|
|
|
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { |
|
|
|
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { |
|
|
|
width: 16, |
|
|
|
width: 24, |
|
|
|
el: icon |
|
|
|
el: icon |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
el: this.text |
|
|
|
el: this.text |
|
|
@ -48,8 +48,7 @@ BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, { |
|
|
|
BI.createWidget(BI.extend({ |
|
|
|
BI.createWidget(BI.extend({ |
|
|
|
element: this |
|
|
|
element: this |
|
|
|
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, { |
|
|
|
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, { |
|
|
|
items: items, |
|
|
|
items: items |
|
|
|
hgap: 5 |
|
|
|
|
|
|
|
})))); |
|
|
|
})))); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|