Browse Source

Pull request #3216: KERNEL-13158: zhenfei漏改了

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '2f9c3337fc4bbb099c6e44dc556c8d1c46443cb8':
  KERNEL-13158: zhenfei漏改了
es6
guy-王川 2 years ago
parent
commit
2d46866fa2
  1. 12
      src/case/linearsegment/linear.segment.js

12
src/case/linearsegment/linear.segment.js

@ -3,9 +3,6 @@ BI.LinearSegment = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-linear-segment",
items: [],
layouts: [{
type: "bi.center"
}],
height: 30
},
@ -13,11 +10,14 @@ BI.LinearSegment = BI.inherit(BI.Widget, {
var self = this, o = this.options;
return {
type: "bi.button_group",
items: BI.createItems(o.items, {
items: [BI.createItems(o.items, {
type: "bi.linear_segment_button",
height: o.height
}),
layouts: o.layouts,
})],
layouts: [{
type: "bi.table",
columnSize: BI.makeArrayByArray(o.items, "fill"),
}],
value: o.value,
listeners: [{
eventName: "__EVENT_CHANGE__",

Loading…
Cancel
Save