Browse Source

Pull request #3572: BI-127456 fix: 去掉高度

Merge in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit '9955e0bf74feacd607c5231fa96f8d26d99e393a':
  BI-127456 fix: 去掉高度
  BI-127456 fix: 去掉高度
research/test
imp-张健 1 year ago
parent
commit
0461002828
  1. 2
      src/case/segment/segment.js

2
src/case/segment/segment.js

@ -22,7 +22,6 @@ BI.Segment = BI.inherit(BI.Widget, {
value: o.value, value: o.value,
items: [BI.createItems(o.items, { items: [BI.createItems(o.items, {
type: "bi.segment_button", type: "bi.segment_button",
height: BI.toPix(o.height, 2),
whiteSpace: o.whiteSpace, whiteSpace: o.whiteSpace,
})], })],
layouts: [{ layouts: [{
@ -63,7 +62,6 @@ BI.Segment = BI.inherit(BI.Widget, {
var o = this.options; var o = this.options;
this.buttonGroup.populate([BI.createItems(buttons, { this.buttonGroup.populate([BI.createItems(buttons, {
type: "bi.segment_button", type: "bi.segment_button",
height: BI.toPix(o.height, 2),
whiteSpace: o.whiteSpace, whiteSpace: o.whiteSpace,
})]); })]);
}, },

Loading…
Cancel
Save