From 0ae51ec2dcd23738c0a911b19d27adf6fe71452d Mon Sep 17 00:00:00 2001 From: jian Date: Fri, 2 Jun 2023 10:30:19 +0800 Subject: [PATCH] =?UTF-8?q?BI-127456=20fix:=20=E5=8E=BB=E6=8E=89=E9=AB=98?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/segment/segment.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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, })]); },