From 1880c9e96ac4854f3d6f611ab8b3ad4d056f5932 Mon Sep 17 00:00:00 2001 From: "Cauchy.Ke" Date: Thu, 9 Dec 2021 16:05:50 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20icontexticonitem=EF=BC=8C=E7=94=A8heig?= =?UTF-8?q?ht=E4=BD=9C=E4=B8=BA=E5=9B=BE=E6=A0=87=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/button/listitem/icontexticonitem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/single/button/listitem/icontexticonitem.js b/src/base/single/button/listitem/icontexticonitem.js index 3cae823de..1624e50e4 100644 --- a/src/base/single/button/listitem/icontexticonitem.js +++ b/src/base/single/button/listitem/icontexticonitem.js @@ -44,7 +44,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, { var icon1 = BI.createWidget({ type: "bi.icon_label", cls: o.iconCls1, - width: o.leftIconWrapperWidth, + width: o.leftIconWrapperWidth || o.height, height: o.height, iconWidth: o.iconWidth, iconHeight: o.iconHeight @@ -60,7 +60,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, { el: { type: "bi.icon_label", cls: o.iconCls2, - width: o.rightIconWrapperWidth, + width: o.rightIconWrapperWidth || o.height, height: o.height, iconWidth: o.iconWidth, iconHeight: o.iconHeight