|
|
@ -61,7 +61,7 @@ BI.Button = BI.inherit(BI.BasicButton, { |
|
|
|
type: "bi.icon_label", |
|
|
|
type: "bi.icon_label", |
|
|
|
cls: o.iconCls, |
|
|
|
cls: o.iconCls, |
|
|
|
width: this._const.iconWidth, |
|
|
|
width: this._const.iconWidth, |
|
|
|
height: o.height, |
|
|
|
height: lineHeight, |
|
|
|
lineHeight: lineHeight, |
|
|
|
lineHeight: lineHeight, |
|
|
|
iconWidth: o.iconWidth, |
|
|
|
iconWidth: o.iconWidth, |
|
|
|
iconHeight: o.iconHeight |
|
|
|
iconHeight: o.iconHeight |
|
|
@ -71,7 +71,7 @@ BI.Button = BI.inherit(BI.BasicButton, { |
|
|
|
text: o.text, |
|
|
|
text: o.text, |
|
|
|
textWidth: BI.isNotNull(o.textWidth) ? o.textWidth - this._const.iconWidth : null, |
|
|
|
textWidth: BI.isNotNull(o.textWidth) ? o.textWidth - this._const.iconWidth : null, |
|
|
|
textHeight: textHeight, |
|
|
|
textHeight: textHeight, |
|
|
|
height: o.height, |
|
|
|
height: lineHeight, |
|
|
|
value: o.value |
|
|
|
value: o.value |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
@ -88,7 +88,7 @@ BI.Button = BI.inherit(BI.BasicButton, { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.text = BI.createWidget({ |
|
|
|
this.text = BI.createWidget({ |
|
|
|
type: "bi.label", |
|
|
|
type: "bi.label", |
|
|
|
height: o.height, |
|
|
|
height: lineHeight, |
|
|
|
textAlign: o.textAlign, |
|
|
|
textAlign: o.textAlign, |
|
|
|
whiteSpace: o.whiteSpace, |
|
|
|
whiteSpace: o.whiteSpace, |
|
|
|
textWidth: o.textWidth, |
|
|
|
textWidth: o.textWidth, |
|
|
|