Browse Source

优化样式

es6
guy 3 years ago
parent
commit
df4c9b41e5
  1. 6
      src/base/single/input/checkbox/checkbox.js

6
src/base/single/input/checkbox/checkbox.js

@ -25,8 +25,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-content", cls: "checkbox-content",
width: o.iconWidth - 2, width: o.iconWidth,
height: o.iconHeight - 2 height: o.iconHeight
}] }]
}; };
}, },
@ -58,4 +58,4 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
}); });
BI.Checkbox.EVENT_CHANGE = "EVENT_CHANGE"; BI.Checkbox.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.checkbox", BI.Checkbox); BI.shortcut("bi.checkbox", BI.Checkbox);

Loading…
Cancel
Save