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

Loading…
Cancel
Save