From c6ee4dcb9e2318f4289a83f617fa2074c97c84ae Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 16 Mar 2022 14:11:40 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=E8=B0=83=E6=95=B4=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/button/item.multiselect.js | 4 ---- src/case/button/item.singleselect.radio.js | 3 --- src/case/trigger/trigger.icon.text.js | 6 ------ src/case/trigger/trigger.icon.text.select.js | 6 ------ src/case/trigger/trigger.text.js | 5 ----- src/case/trigger/trigger.text.select.js | 6 ------ src/case/trigger/trigger.text.select.small.js | 6 ------ src/case/trigger/trigger.text.small.js | 5 ----- 8 files changed, 41 deletions(-) diff --git a/src/case/button/item.multiselect.js b/src/case/button/item.multiselect.js index 95c5eb6d6..f72ea6e12 100644 --- a/src/case/button/item.multiselect.js +++ b/src/case/button/item.multiselect.js @@ -15,10 +15,6 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { dynamic: false }, iconWrapperWidth: 26, - textHgap: 0, - textLgap: 0, - textRgap: 0, - textVgap: 0, }); }, diff --git a/src/case/button/item.singleselect.radio.js b/src/case/button/item.singleselect.radio.js index c11301c83..882f912e9 100644 --- a/src/case/button/item.singleselect.radio.js +++ b/src/case/button/item.singleselect.radio.js @@ -16,9 +16,6 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { height: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT, iconWrapperWidth: 16, textHgap: 10, - textVgap: 0, - textLgap: 0, - textRgap: 0 }); }, diff --git a/src/case/trigger/trigger.icon.text.js b/src/case/trigger/trigger.icon.text.js index 86d70d789..36d156e13 100644 --- a/src/case/trigger/trigger.icon.text.js +++ b/src/case/trigger/trigger.icon.text.js @@ -12,12 +12,6 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, { return BI.extend(conf, { baseCls: (conf.baseCls || "") + " bi-text-trigger", height: 24, - textHgap: 0, - textVgap: 0, - textLgap: 0, - textRgap: 0, - textTgap: 0, - textBgap: 0, iconHeight: null, iconWidth: null, textCls: "" diff --git a/src/case/trigger/trigger.icon.text.select.js b/src/case/trigger/trigger.icon.text.select.js index d109aa927..b0142b91e 100644 --- a/src/case/trigger/trigger.icon.text.select.js +++ b/src/case/trigger/trigger.icon.text.select.js @@ -9,12 +9,6 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, { height: 24, iconHeight: null, iconWidth: null, - textHgap: 0, - textVgap: 0, - textLgap: 0, - textRgap: 0, - textTgap: 0, - textBgap: 0, iconCls: "" }); }, diff --git a/src/case/trigger/trigger.text.js b/src/case/trigger/trigger.text.js index 6ff5fcbcb..e8ee789df 100644 --- a/src/case/trigger/trigger.text.js +++ b/src/case/trigger/trigger.text.js @@ -14,11 +14,6 @@ BI.TextTrigger = BI.inherit(BI.Trigger, { baseCls: (conf.baseCls || "") + " bi-text-trigger", height: 24, textHgap: 6, - textVgap: 0, - textLgap: 0, - textRgap: 0, - textTgap: 0, - textBgap: 0, textCls: "", title: function () { return self.text.getText(); diff --git a/src/case/trigger/trigger.text.select.js b/src/case/trigger/trigger.text.select.js index 24840ed4d..8b24c1c9c 100644 --- a/src/case/trigger/trigger.text.select.js +++ b/src/case/trigger/trigger.text.select.js @@ -11,12 +11,6 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, { return BI.extend(BI.SelectTextTrigger.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-select-text-trigger", height: 24, - textHgap: 6, - textVgap: 0, - textLgap: 0, - textRgap: 0, - textTgap: 0, - textBgap: 0, }); }, diff --git a/src/case/trigger/trigger.text.select.small.js b/src/case/trigger/trigger.text.select.small.js index 35a2106d9..9c39fe750 100644 --- a/src/case/trigger/trigger.text.select.small.js +++ b/src/case/trigger/trigger.text.select.small.js @@ -10,12 +10,6 @@ BI.SmallSelectTextTrigger = BI.inherit(BI.Trigger, { return BI.extend(BI.SmallSelectTextTrigger.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-small-select-text-trigger bi-border", height: 20, - textHgap: 6, - textVgap: 0, - textLgap: 0, - textRgap: 0, - textTgap: 0, - textBgap: 0, }); }, diff --git a/src/case/trigger/trigger.text.small.js b/src/case/trigger/trigger.text.small.js index 516c70914..6fbb04c3c 100644 --- a/src/case/trigger/trigger.text.small.js +++ b/src/case/trigger/trigger.text.small.js @@ -11,11 +11,6 @@ BI.SmallTextTrigger = BI.inherit(BI.Trigger, { baseCls: (conf.baseCls || "") + " bi-text-trigger", height: 20, textHgap: 6, - textVgap: 0, - textLgap: 0, - textRgap: 0, - textTgap: 0, - textBgap: 0, }); },