@ -17,8 +17,7 @@ BI.Tooltip = BI.inherit(BI.Tip, {
text: "",
level: "success", // success或warning
stopEvent: false,
stopPropagation: false,
height: 18
stopPropagation: false
});
},
_init: function () {
@ -62,8 +61,7 @@ BI.Tooltip = BI.inherit(BI.Tip, {
textAlign: "left",
whiteSpace: "normal",
text: o.text,
height: o.height,
textHeight: o.height - 2,
textHeight: 18,
hgap: this._const.hgap
}
@ -26,8 +26,7 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
type: "bi.tooltip",
text: text,
level: level,
stopEvent: true,
height: this._const.height
stopEvent: true