Browse Source

BI-46786 refactor: bi.button设置宽度后,icon和文本分太开

es6
windy 5 years ago
parent
commit
131708e9e6
  1. 2
      src/base/single/button/buttons/button.js

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

@ -59,7 +59,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
height: o.height - 2
});
BI.createWidget({
type: "bi.horizontal_auto",
type: "bi.center_adapt",
cls: o.iconCls,
element: this,
hgap: o.hgap,

Loading…
Cancel
Save