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