update text panel
This commit is contained in:
parent
8e4c16443e
commit
f102bb4e11
1 changed files with 11 additions and 11 deletions
|
@ -11,7 +11,14 @@ pandora.ui.textPanel = function() {
|
||||||
'rtl'
|
'rtl'
|
||||||
],
|
],
|
||||||
|
|
||||||
that = Ox.Element();
|
that = Ox.SplitPanel({
|
||||||
|
elements: [
|
||||||
|
{element: Ox.Element(), size: 24},
|
||||||
|
{element: Ox.Element()},
|
||||||
|
{element: Ox.Element(), size: 16}
|
||||||
|
],
|
||||||
|
orientation: 'vertical'
|
||||||
|
});
|
||||||
|
|
||||||
pandora.api.getText({id: pandora.user.ui.text}, function(result) {
|
pandora.api.getText({id: pandora.user.ui.text}, function(result) {
|
||||||
|
|
||||||
|
@ -125,16 +132,9 @@ pandora.ui.textPanel = function() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
that.setElement(
|
that.replaceElement(0, $toolbar);
|
||||||
Ox.SplitPanel({
|
that.replaceElement(1, $panel);
|
||||||
elements: [
|
that.replaceElement(2, $statusbar);
|
||||||
{element: $toolbar, size: 24},
|
|
||||||
{element: $panel},
|
|
||||||
{element: $statusbar, size: 16}
|
|
||||||
],
|
|
||||||
orientation: 'vertical'
|
|
||||||
})
|
|
||||||
);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue