Browse Source

BI-127456 fix: 去掉高度

es6^2
jian 1 year ago
parent
commit
b0b8e4f8a1
  1. 3
      packages/fineui/src/case/segment/segment.js

3
packages/fineui/src/case/segment/segment.js

@ -38,12 +38,12 @@ export class Segment extends Widget {
const o = this.options;
this.buttonGroup = createWidget({
element: this,
height: toPix(o.height),
type: ButtonGroup.xtype,
value: o.value,
items: [
createItems(o.items, {
type: SegmentButton.xtype,
height: toPix(o.height, 2),
whiteSpace: o.whiteSpace,
})
],
@ -88,7 +88,6 @@ export class Segment extends Widget {
this.buttonGroup.populate([
createItems(buttons, {
type: SegmentButton.xtype,
height: toPix(o.height, 2),
whiteSpace: o.whiteSpace,
})
]);

Loading…
Cancel
Save