diff --git a/src/base/single/label/icon.label.js b/src/base/single/label/icon.label.js index 6575564b1..b5779c3e5 100644 --- a/src/base/single/label/icon.label.js +++ b/src/base/single/label/icon.label.js @@ -7,6 +7,12 @@ BI.IconLabel = BI.inherit(BI.Single, { props: { baseCls: "bi-icon-label horizon-center", + hgap: 0, + vgap: 0, + tgap: 0, + bgap: 0, + lgap: 0, + rgap: 0, iconWidth: null, iconHeight: null, lineHeight: null, @@ -27,6 +33,12 @@ BI.IconLabel = BI.inherit(BI.Single, { BI.createWidget({ type: "bi.default", element: this, + hgap: o.hgap, + vgap: o.vgap, + lgap: o.lgap, + rgap: o.rgap, + tgap: o.tgap, + bgap: o.bgap, items: [this.icon] }); } else { @@ -34,6 +46,12 @@ BI.IconLabel = BI.inherit(BI.Single, { BI.createWidget({ element: this, type: "bi.center_adapt", + hgap: o.hgap, + vgap: o.vgap, + lgap: o.lgap, + rgap: o.rgap, + tgap: o.tgap, + bgap: o.bgap, items: [this.icon] }); }