Browse Source

Merge pull request #83092 in DEC/fineui from release/11.0 to feature/x

* commit 'bd9d671eb7693190a4f33b9980d44b13dd26e421':
  REPORT-74080 fix: 删除 iconGap 默认的水平间距
es6
superman 3 years ago
parent
commit
33be84856c
  1. 4
      src/base/single/button/buttons/button.js

4
src/base/single/button/buttons/button.js

@ -24,7 +24,7 @@
if (isVertical(props.iconPosition)) {
// 图标高度和文字高度默认相等
adaptiveHeight += (props.textHeight || 16) * 2;
adaptiveHeight += props.iconGap || 4;
adaptiveHeight += props.iconGap || 0;
var tGap = props.tgap || props.vgap || 2;
var bGap = props.bgap || props.vgap || 2;
adaptiveHeight += (tGap + bGap);
@ -58,7 +58,7 @@
bgap: 0,
lgap: 0,
rgap: 0,
iconGap: 4,
iconGap: 0,
iconPosition: "left"
});
},

Loading…
Cancel
Save