@ -358,14 +358,15 @@ BI.TreeView = BI.inherit(BI.Pane, {
n.title = n.text;
}
var text = BI.createWidget(BI.extend({
type: "bi.text",
cls: "tree-node-text",
css: {
display: "inline"
},
whiteSpace: "nowrap",
root: true
}, n));
}, n, {
type: "bi.text"
}));
var fragment = BI.Widget._renderEngine.createElement("<div>");
fragment.append(text.element[0]);
n.text = fragment.html();