Browse Source

无jira任务 feat:IconTextItem增加属性textWidth

es6
Tangjinxia 3 years ago
parent
commit
21c106e858
  1. 2
      src/base/single/button/listitem/icontextitem.js

2
src/base/single/button/listitem/icontextitem.js

@ -18,6 +18,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
iconWrapperWidth: null, iconWrapperWidth: null,
iconHeight: null, iconHeight: null,
iconWidth: null, iconWidth: null,
textWidth: null,
iconCls: "", iconCls: "",
textHgap: 0, textHgap: 0,
textVgap: 0, textVgap: 0,
@ -32,6 +33,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
type: "bi.label", type: "bi.label",
cls: "list-item-text", cls: "list-item-text",
textAlign: "left", textAlign: "left",
textWidth: o.textWidth,
hgap: o.textHgap, hgap: o.textHgap,
vgap: o.textVgap, vgap: o.textVgap,
lgap: o.textLgap, lgap: o.textLgap,

Loading…
Cancel
Save