|
|
|
@ -36,7 +36,6 @@ BI.TextEditor = BI.inherit(BI.Widget, {
|
|
|
|
|
this.editor = BI.createWidget({ |
|
|
|
|
type: "bi.editor", |
|
|
|
|
simple: o.simple, |
|
|
|
|
height: o.height - border, |
|
|
|
|
hgap: o.hgap, |
|
|
|
|
vgap: o.vgap, |
|
|
|
|
lgap: o.lgap, |
|
|
|
@ -117,10 +116,14 @@ BI.TextEditor = BI.inherit(BI.Widget, {
|
|
|
|
|
self.fireEvent(BI.TextEditor.EVENT_EMPTY); |
|
|
|
|
}); |
|
|
|
|
BI.createWidget({ |
|
|
|
|
type: "bi.vertical", |
|
|
|
|
scrolly: false, |
|
|
|
|
type: "bi.absolute", |
|
|
|
|
element: this, |
|
|
|
|
items: [this.editor] |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
el: this.editor, |
|
|
|
|
inset: 0 |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|