From cc9bcf0d940243ecf404f7a034ed45c736e46dd3 Mon Sep 17 00:00:00 2001 From: zsmj1994 Date: Thu, 11 Mar 2021 09:36:41 +0800 Subject: [PATCH] update --- src/case/button/item.multiselect.js | 8 ++++++-- src/case/button/item.singleselect.radio.js | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/case/button/item.multiselect.js b/src/case/button/item.multiselect.js index 54dc7cabb..0bd077f06 100644 --- a/src/case/button/item.multiselect.js +++ b/src/case/button/item.multiselect.js @@ -12,6 +12,9 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { dynamic: false }, iconWrapperWidth: 26, + textHgap: 0, + textLgap: 0, + textRgap: 0 }); }, _init: function () { @@ -27,8 +30,9 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { whiteSpace: "nowrap", textHeight: o.height, height: o.height, - hgap: o.hgap, - rgap: o.rgap, + hgap: o.textHgap, + rgap: o.textRgap, + lgap: o.textLgap, 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 ca6d6d2ae..21b9ad155 100644 --- a/src/case/button/item.singleselect.radio.js +++ b/src/case/button/item.singleselect.radio.js @@ -12,6 +12,9 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { }, height: 24, iconWrapperWidth: 26, + textHgap: 0, + textLgap: 0, + textRgap: 0 }); }, _init: function () { @@ -28,7 +31,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { textHeight: o.height, height: o.height, hgap: o.textHgap, - rgap: o.textHgap, + rgap: o.textRgap, + lgap: o.textLgap, text: o.text, keyword: o.keyword, value: o.value,