From 8c17b9f95fad441d5acf099bfa7e70409078b67f Mon Sep 17 00:00:00 2001 From: jian Date: Mon, 31 Jul 2023 16:07:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96height?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fineui/src/case/combo/textvaluecombo/combo.textvalue.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fineui/src/case/combo/textvaluecombo/combo.textvalue.js b/packages/fineui/src/case/combo/textvaluecombo/combo.textvalue.js index 8139a1524..dce27ea81 100644 --- a/packages/fineui/src/case/combo/textvaluecombo/combo.textvalue.js +++ b/packages/fineui/src/case/combo/textvaluecombo/combo.textvalue.js @@ -144,8 +144,8 @@ export class TextValueCombo extends Widget { return { type: Combo.xtype, - height: toPix(o.height, 2), - width: toPix(o.width, 2), + height: toPix(o.height, o.simple ? 1 : 2), + width: toPix(o.width, o.simple ? 0 : 2), ref: ref => (this.combo = ref), container: o.container, direction: o.direction,