Browse Source

BI-139672 fix: 修改高度后文本未上下居中

research/test
chenzeyu 12 months ago
parent
commit
e13a70577a
  1. 3
      packages/fineui/src/case/colorchooser/colorchooser.trigger.long.js

3
packages/fineui/src/case/colorchooser/colorchooser.trigger.long.js

@ -27,6 +27,7 @@ export class LongColorChooserTrigger extends Trigger {
}
_init() {
const {height} = this.options;
super._init(...arguments);
this.colorContainer = createWidget({
type: HTapeLayout.xtype,
@ -51,7 +52,7 @@ export class LongColorChooserTrigger extends Trigger {
},
textAlign: "left",
hgap: 5,
height: 18,
height: height - 4,
text: i18nText("BI-Basic_Auto"),
},
}

Loading…
Cancel
Save