From 933d8d52fd1f2951dae6f093e62aa21226b2b41b Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 22 Feb 2022 18:35:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20icon=E5=92=8C?= =?UTF-8?q?text=E4=BD=8D=E7=BD=AE=E5=8F=8D=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../single/button/listitem/blankicontextitem.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/base/single/button/listitem/blankicontextitem.js b/src/base/single/button/listitem/blankicontextitem.js index f35dbe582..f83e14c57 100644 --- a/src/base/single/button/listitem/blankicontextitem.js +++ b/src/base/single/button/listitem/blankicontextitem.js @@ -30,10 +30,17 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, { return { type: "bi.vertical_adapt", - columnSize: [o.blankWidth, "fill", o.iconWrapperWidth || o.height], + columnSize: [o.blankWidth, o.iconWrapperWidth || o.height, "fill"], items: [{ type: "bi.layout", width: o.blankWidth + }, { + type: "bi.icon_label", + cls: o.iconCls, + width: o.iconWrapperWidth || o.height, + height: o.height, + iconWidth: o.iconWidth, + iconHeight: o.iconHeight }, { type: "bi.label", ref: function (_ref) { @@ -49,13 +56,6 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, { value: o.value, keyword: o.keyword, height: o.height - }, { - type: "bi.icon_label", - cls: o.iconCls, - width: o.iconWrapperWidth || o.height, - height: o.height, - iconWidth: o.iconWidth, - iconHeight: o.iconHeight }] }; },