zsmj1994 4 years ago
parent
commit
cc9bcf0d94
  1. 8
      src/case/button/item.multiselect.js
  2. 6
      src/case/button/item.singleselect.radio.js

8
src/case/button/item.multiselect.js

@ -12,6 +12,9 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
dynamic: false dynamic: false
}, },
iconWrapperWidth: 26, iconWrapperWidth: 26,
textHgap: 0,
textLgap: 0,
textRgap: 0
}); });
}, },
_init: function () { _init: function () {
@ -27,8 +30,9 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
whiteSpace: "nowrap", whiteSpace: "nowrap",
textHeight: o.height, textHeight: o.height,
height: o.height, height: o.height,
hgap: o.hgap, hgap: o.textHgap,
rgap: o.rgap, rgap: o.textRgap,
lgap: o.textLgap,
text: o.text, text: o.text,
keyword: o.keyword, keyword: o.keyword,
value: o.value, value: o.value,

6
src/case/button/item.singleselect.radio.js

@ -12,6 +12,9 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
}, },
height: 24, height: 24,
iconWrapperWidth: 26, iconWrapperWidth: 26,
textHgap: 0,
textLgap: 0,
textRgap: 0
}); });
}, },
_init: function () { _init: function () {
@ -28,7 +31,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
textHeight: o.height, textHeight: o.height,
height: o.height, height: o.height,
hgap: o.textHgap, hgap: o.textHgap,
rgap: o.textHgap, rgap: o.textRgap,
lgap: o.textLgap,
text: o.text, text: o.text,
keyword: o.keyword, keyword: o.keyword,
value: o.value, value: o.value,

Loading…
Cancel
Save