forked from 0x2620/pandora
21 lines
626 B
JavaScript
21 lines
626 B
JavaScript
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
|
pandora.ui.mainPanel = function() {
|
|
var that = Ox.SplitPanel({
|
|
elements: [
|
|
{
|
|
collapsible: true,
|
|
collapsed: !pandora.user.ui.showSidebar,
|
|
element: pandora.$ui.leftPanel = pandora.ui.leftPanel(),
|
|
resizable: true,
|
|
resize: [192, 256, 320, 384],
|
|
size: pandora.user.ui.sidebarSize
|
|
},
|
|
{
|
|
element: pandora.$ui.rightPanel = pandora.ui.rightPanel()
|
|
}
|
|
],
|
|
orientation: 'horizontal'
|
|
})
|
|
return that;
|
|
};
|
|
|