update text panel

This commit is contained in:
rolux 2013-02-21 17:58:10 +05:30
parent 8e4c16443e
commit f102bb4e11

View file

@ -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'
})
);
}); });