window -widthHeight 200 150;
string $form = `formLayout`;
string $tabs = `tabLayout -innerMarginWidth 5 -innerMarginHeight 5`;
formLayout -edit
-attachForm $tabs "top" 0
-attachForm $tabs "left" 0
-attachForm $tabs "bottom" 0
-attachForm $tabs "right" 0
$form;
string $child1 = `rowColumnLayout -numberOfColumns 2`;
button; button; button;
setParent ..;
string $child2 = `rowColumnLayout -numberOfColumns 2`;
button; button; button;
setParent ..;
tabLayout -edit
-tabLabel $child1 "One" -tabLabel $child2 "Two"
$tabs;
showWindow;