|
|
@ -7,6 +7,12 @@ BI.IconLabel = BI.inherit(BI.Single, { |
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: { |
|
|
|
baseCls: "bi-icon-label horizon-center", |
|
|
|
baseCls: "bi-icon-label horizon-center", |
|
|
|
|
|
|
|
hgap: 0, |
|
|
|
|
|
|
|
vgap: 0, |
|
|
|
|
|
|
|
tgap: 0, |
|
|
|
|
|
|
|
bgap: 0, |
|
|
|
|
|
|
|
lgap: 0, |
|
|
|
|
|
|
|
rgap: 0, |
|
|
|
iconWidth: null, |
|
|
|
iconWidth: null, |
|
|
|
iconHeight: null, |
|
|
|
iconHeight: null, |
|
|
|
lineHeight: null, |
|
|
|
lineHeight: null, |
|
|
@ -27,6 +33,12 @@ BI.IconLabel = BI.inherit(BI.Single, { |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
|
type: "bi.default", |
|
|
|
type: "bi.default", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
|
|
|
|
hgap: o.hgap, |
|
|
|
|
|
|
|
vgap: o.vgap, |
|
|
|
|
|
|
|
lgap: o.lgap, |
|
|
|
|
|
|
|
rgap: o.rgap, |
|
|
|
|
|
|
|
tgap: o.tgap, |
|
|
|
|
|
|
|
bgap: o.bgap, |
|
|
|
items: [this.icon] |
|
|
|
items: [this.icon] |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -34,6 +46,12 @@ BI.IconLabel = BI.inherit(BI.Single, { |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
type: "bi.center_adapt", |
|
|
|
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] |
|
|
|
items: [this.icon] |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|