Browse Source

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

master
windy 6 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 height: o.height - 2
}); });
BI.createWidget({ BI.createWidget({
type: "bi.horizontal_auto", type: "bi.center_adapt",
cls: o.iconCls, cls: o.iconCls,
element: this, element: this,
hgap: o.hgap, hgap: o.hgap,

Loading…
Cancel
Save