Browse Source

Pull request #1831: 无JIRA任务 fix: 恢复radio和checkbox item 原有的属性和表现.

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'cc9bcf0d940243ecf404f7a034ed45c736e46dd3':
  update
  无JIRA任务 fix: 恢复radio和checkbox item 原有的属性和表现. 下一个窗口再调整
es6
parent
commit
e17f37fbab
  1. 4
      src/case/button/item.multiselect.js
  2. 8
      src/case/button/item.singleselect.radio.js

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

@ -11,8 +11,9 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
logic: { logic: {
dynamic: false dynamic: false
}, },
iconWrapperWidth: 16, iconWrapperWidth: 26,
textHgap: 0, textHgap: 0,
textLgap: 0,
textRgap: 0 textRgap: 0
}); });
}, },
@ -31,6 +32,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
height: o.height, height: o.height,
hgap: o.textHgap, hgap: o.textHgap,
rgap: o.textRgap, rgap: o.textRgap,
lgap: o.textLgap,
text: o.text, text: o.text,
keyword: o.keyword, keyword: o.keyword,
value: o.value, value: o.value,

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

@ -11,8 +11,9 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
dynamic: false dynamic: false
}, },
height: 24, height: 24,
iconWrapperWidth: 16, iconWrapperWidth: 26,
textHgap: 0, textHgap: 0,
textLgap: 0,
textRgap: 0 textRgap: 0
}); });
}, },
@ -30,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,
@ -43,7 +45,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
items: BI.LogicFactory.createLogicItemsByDirection("left", { items: BI.LogicFactory.createLogicItemsByDirection("left", {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [this.radio], items: [this.radio],
width: o.conWrapperWidth width: o.iconWrapperWidth
}, this.text) }, this.text)
})))); }))));
}, },

Loading…
Cancel
Save