Browse Source

feature: 调整默认值

es6
guy 3 years ago
parent
commit
c6ee4dcb9e
  1. 4
      src/case/button/item.multiselect.js
  2. 3
      src/case/button/item.singleselect.radio.js
  3. 6
      src/case/trigger/trigger.icon.text.js
  4. 6
      src/case/trigger/trigger.icon.text.select.js
  5. 5
      src/case/trigger/trigger.text.js
  6. 6
      src/case/trigger/trigger.text.select.js
  7. 6
      src/case/trigger/trigger.text.select.small.js
  8. 5
      src/case/trigger/trigger.text.small.js

4
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,
});
},

3
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
});
},

6
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: ""

6
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: ""
});
},

5
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();

6
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,
});
},

6
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,
});
},

5
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,
});
},

Loading…
Cancel
Save