From 1a081abefa959c9a917f2b1d1a75ad772c45b894 Mon Sep 17 00:00:00 2001 From: zsmj1994 Date: Thu, 11 Mar 2021 09:31:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20fix:=20?= =?UTF-8?q?=E6=81=A2=E5=A4=8Dradio=E5=92=8Ccheckbox=20item=20=E5=8E=9F?= =?UTF-8?q?=E6=9C=89=E7=9A=84=E5=B1=9E=E6=80=A7=E5=92=8C=E8=A1=A8=E7=8E=B0?= =?UTF-8?q?.=20=E4=B8=8B=E4=B8=80=E4=B8=AA=E7=AA=97=E5=8F=A3=E5=86=8D?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/button/item.multiselect.js | 8 +++----- src/case/button/item.singleselect.radio.js | 6 ++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/case/button/item.multiselect.js b/src/case/button/item.multiselect.js index 930e56cf9..54dc7cabb 100644 --- a/src/case/button/item.multiselect.js +++ b/src/case/button/item.multiselect.js @@ -11,9 +11,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { logic: { dynamic: false }, - iconWrapperWidth: 16, - textHgap: 0, - textRgap: 0 + iconWrapperWidth: 26, }); }, _init: function () { @@ -29,8 +27,8 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { whiteSpace: "nowrap", textHeight: o.height, height: o.height, - hgap: o.textHgap, - rgap: o.textRgap, + hgap: o.hgap, + rgap: o.rgap, text: o.text, keyword: o.keyword, value: o.value, diff --git a/src/case/button/item.singleselect.radio.js b/src/case/button/item.singleselect.radio.js index f84105cda..ca6d6d2ae 100644 --- a/src/case/button/item.singleselect.radio.js +++ b/src/case/button/item.singleselect.radio.js @@ -11,9 +11,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { dynamic: false }, height: 24, - iconWrapperWidth: 16, - textHgap: 0, - textRgap: 0 + iconWrapperWidth: 26, }); }, _init: function () { @@ -43,7 +41,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { items: BI.LogicFactory.createLogicItemsByDirection("left", { type: "bi.center_adapt", items: [this.radio], - width: o.conWrapperWidth + width: o.iconWrapperWidth }, this.text) })))); },