Browse Source

无JIRA任务 fix: 恢复radio和checkbox item 原有的属性和表现. 下一个窗口再调整

es6
zsmj1994 3 years ago
parent
commit
1a081abefa
  1. 8
      src/case/button/item.multiselect.js
  2. 6
      src/case/button/item.singleselect.radio.js

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

@ -11,9 +11,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
logic: {
dynamic: false
},
iconWrapperWidth: 16,
textHgap: 0,
textRgap: 0
iconWrapperWidth: 26,
});
},
_init: function () {
@ -29,8 +27,8 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
whiteSpace: "nowrap",
textHeight: o.height,
height: o.height,
hgap: o.textHgap,
rgap: o.textRgap,
hgap: o.hgap,
rgap: o.rgap,
text: o.text,
keyword: o.keyword,
value: o.value,

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

@ -11,9 +11,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
dynamic: false
},
height: 24,
iconWrapperWidth: 16,
textHgap: 0,
textRgap: 0
iconWrapperWidth: 26,
});
},
_init: function () {
@ -43,7 +41,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
items: BI.LogicFactory.createLogicItemsByDirection("left", {
type: "bi.center_adapt",
items: [this.radio],
width: o.conWrapperWidth
width: o.iconWrapperWidth
}, this.text)
}))));
},

Loading…
Cancel
Save