zsmj1994 3 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
},
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,

6
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,

Loading…
Cancel
Save