diff --git a/src/case/segment/segment.js b/src/case/segment/segment.js index 2c1dda918..a35e8080a 100644 --- a/src/case/segment/segment.js +++ b/src/case/segment/segment.js @@ -18,11 +18,11 @@ BI.Segment = BI.inherit(BI.Widget, { var self = this, o = this.options; this.buttonGroup = BI.createWidget({ element: this, + height: BI.toPix(o.height), type: "bi.button_group", value: o.value, items: [BI.createItems(o.items, { type: "bi.segment_button", - height: BI.toPix(o.height, 2), whiteSpace: o.whiteSpace, })], layouts: [{ @@ -63,7 +63,6 @@ BI.Segment = BI.inherit(BI.Widget, { var o = this.options; this.buttonGroup.populate([BI.createItems(buttons, { type: "bi.segment_button", - height: BI.toPix(o.height, 2), whiteSpace: o.whiteSpace, })]); },