Browse Source

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

Merge in VISUAL/fineui from ~ZOEY.CHEN/fineui:master to master

* commit 'e13a70577a8bd1a1b5bbc052d2e144a24d123522':
  BI-139672 fix: 修改高度后文本未上下居中
research/test
Zoey.Chen-陈泽语 1 year ago
parent
commit
4f6d87765d
  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