В дополнение к предыдущему, может подойдет.
Код:
if(`window -q -exists Test`) deleteUI Test;
window -t "Test" Test;
scrollLayout mainCol;
frameLayout -cll 1 -cl 1 -l "Frame1" -h 20 -w 150
-cc "frameLayout -e -h 20 frLy1"
-ec "frameLayout -e -h 300 frLy1" frLy1;
button -h 30 -w 150;
button -h 30 -w 150;
button -h 30 -w 150;
button -h 30 -w 150;
setParent frLy1;
setParent mainCol;
frameLayout -cll 1 -cl 1 -l "Frame2" -h 20 -w 150
-cc "frameLayout -e -h 20 frLy2"
-ec "frameLayout -e -h 300 frLy2" frLy2;
button -h 30 -w 150;
button -h 30 -w 150;
button -h 30 -w 150;
button -h 30 -w 150;
setParent frLy2;
setParent mainCol;
frameLayout -cll 1 -cl 1 -l "Frame3" -h 20 -w 150
-cc "frameLayout -e -h 20 frLy3"
-ec "frameLayout -e -h 300 frLy3" frLy3;
button -h 30 -w 150;
button -h 30 -w 150;
button -h 30 -w 150;
button -h 30 -w 150;
setParent frLy3;
setParent mainCol;
frameLayout -cll 1 -cl 1 -l "Frame4" -h 20 -w 150
-cc "frameLayout -e -h 20 frLy4"
-ec "frameLayout -e -h 300 frLy4" frLy4;
button -h 30 -w 150;
button -h 30 -w 150;
button -h 30 -w 150;
button -h 30 -w 150;
setParent frLy4;
setParent mainCol;
showWindow Test;
dockControl -area "left"
-content Test
-allowedArea "left"
-allowedArea "right";