Browse Source

Pull request #2334: chore: icontexticonitem,用height作为图标默认宽度

Merge in VISUAL/fineui from ~CAUCHY.KE/fineui:master to master

* commit '1880c9e96ac4854f3d6f611ab8b3ad4d056f5932':
  chore: icontexticonitem,用height作为图标默认宽度
es6
Cauchy.Ke 3 years ago
parent
commit
ca50e29232
  1. 4
      src/base/single/button/listitem/icontexticonitem.js

4
src/base/single/button/listitem/icontexticonitem.js

@ -44,7 +44,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
var icon1 = BI.createWidget({
type: "bi.icon_label",
cls: o.iconCls1,
width: o.leftIconWrapperWidth,
width: o.leftIconWrapperWidth || o.height,
height: o.height,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
@ -60,7 +60,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
el: {
type: "bi.icon_label",
cls: o.iconCls2,
width: o.rightIconWrapperWidth,
width: o.rightIconWrapperWidth || o.height,
height: o.height,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight

Loading…
Cancel
Save