Browse Source

BI-45376 fix: 主动控制多行的tooltip滚动条问题

master
windy 6 years ago
parent
commit
7b8c371ccd
  1. 4
      src/base/single/tip/tip.tooltip.js

4
src/base/single/tip/tip.tooltip.js

@ -47,11 +47,11 @@ BI.Tooltip = BI.inherit(BI.Tip, {
hgap: this._const.hgap, hgap: this._const.hgap,
items: BI.map(texts, function (i, text) { items: BI.map(texts, function (i, text) {
return { return {
type: "bi.text", type: "bi.label",
textAlign: "left", textAlign: "left",
whiteSpace: "normal", whiteSpace: "normal",
text: text, text: text,
height: 18 textHeight: 18
}; };
}) })
}); });

Loading…
Cancel
Save