I think this is what your are looking for, let me know if it works for you 
this is a quick and dirty thrown together 
{
$window = window
;
showWindow $window;
$form = formLayout
;
$editor = modelEditor -camera persp
;
$column = columnLayout
;
formLayout -edit -af $editor "top" 0 -ac $editor "left" 0 $column -af $editor "bottom" 0 -af $editor "right" 0 $form;
}
