pandora.ui.textPanel = function() { var that = Ox.SplitPanel({ elements: [ { element: pandora.$ui.selectAnnotationType = pandora.ui.selectAnnotationType() }, { element: pandora.$ui.textArea = pandora.ui.textArea() }, { element: pandora.$ui.textToolBar = pandora.ui.textToolBar(), size: 20 } ], orientation: 'vertical' }); return that; }