|
|
@ -19,6 +19,7 @@ BI.Segment = BI.inherit(BI.Widget, { |
|
|
|
this.buttonGroup = BI.createWidget({ |
|
|
|
this.buttonGroup = BI.createWidget({ |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
type: "bi.button_group", |
|
|
|
type: "bi.button_group", |
|
|
|
|
|
|
|
value: o.value, |
|
|
|
items: BI.createItems(o.items, { |
|
|
|
items: BI.createItems(o.items, { |
|
|
|
type: "bi.segment_button", |
|
|
|
type: "bi.segment_button", |
|
|
|
height: o.height - 2, |
|
|
|
height: o.height - 2, |
|
|
|