|
|
|
@ -18,6 +18,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
iconWrapperWidth: null, |
|
|
|
|
iconHeight: null, |
|
|
|
|
iconWidth: null, |
|
|
|
|
iconCls: "", |
|
|
|
|
textHgap: 0, |
|
|
|
|
textVgap: 0, |
|
|
|
|
textLgap: 0, |
|
|
|
@ -42,6 +43,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
}); |
|
|
|
|
this.icon = BI.createWidget({ |
|
|
|
|
type: "bi.icon_label", |
|
|
|
|
cls: o.iconCls, |
|
|
|
|
width: o.iconWrapperWidth || o.height, |
|
|
|
|
height: o.height, |
|
|
|
|
iconWidth: o.iconWidth, |
|
|
|
@ -97,4 +99,4 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
BI.IconTextItem.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.icon_text_item", BI.IconTextItem); |
|
|
|
|
BI.shortcut("bi.icon_text_item", BI.IconTextItem); |
|
|
|
|