Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 16-02-2020 , 10:08 AM
Registered User
Join Date: Aug 2019
Posts: 2

How to Remove Extra space between layouts #MEL

Hi can anyone tell me how can I remove the extra space between these two layouts ( Check screenshot)


user added image




if ( `window -exists "nameWindowss"` ) {
deleteUI "nameWindowss"; windowPref -remove "nameWindowss";
}


window -title "3DG NUT" -s 0 -widthHeight 200 145 "nameWindowss";

frameLayout -cll 0 -li 170 -labelVisible 0 -bgc 0.25 0.25 0.25;
rowLayout -numberOfColumns 2;

setParent;
setParent;
setParent;

columnLayout -adjustableColumn true;
button -w 85 -h 20 -label " DONATE " -bgc 0.1 0.1 0.1 -command "defaultButtonPush";

setParent ..;


optionMenu -w 108 -h 18 -changeCommand "GlobalResize" -bgc 0.1 0.1 0.1 ThmbnlSwitch;
menuItem -label "Default Thumb" -p ThmbnlSwitch;
menuItem -label "Large Thumbnails" -p ThmbnlSwitch;
menuItem -label "Small Thumbnails" -p ThmbnlSwitch;

setParent;
setParent..;



//--------------------------------------------------------------


string $form = `formLayout`;
string $tabs = `tabLayout -innerMarginWidth 10 -innerMarginHeight 30`;

formLayout -edit
-attachForm $tabs "top" 0
-attachForm $tabs "left" 0
-attachForm $tabs "bottom" 0
-attachForm $tabs "right" 0
$form;

string $child0 = `rowColumnLayout -numberOfColumns 5`;
symbolButton -image "mayabutton.png" -command "sample_Proc";
symbolButton -image "mayabutton.png" -command "sample_Proc";
symbolButton -image "mayabutton.png" -command "sample_Proc";
symbolButton -image "mayabutton.png" -command "sample_Proc";
symbolButton -image "mayabutton.png" -command "sample_Proc";
symbolButton -image "mayabutton.png" -command "sample_Proc";
setParent ..;

string $child1 = `rowColumnLayout -numberOfColumns 5`;
symbolButton -image "mayabutton.png" -command "sample_Proc";
symbolButton -image "mayabutton.png" -command "sample_Proc";
symbolButton -image "mayabutton.png" -command "sample_Proc";
symbolButton -image "mayabutton.png" -command "sample_Proc";
symbolButton -image "mayabutton.png" -command "sample_Proc";
symbolButton -image "mayabutton.png" -command "sample_Proc";
setParent ..;

string $child2 = `rowColumnLayout -numberOfColumns 3`;
button; button; button;
button; button; button;
setParent ..;

tabLayout -edit
-tabLabel $child0 " aaaa " -tabLabel $child1 " bbb " -tabLabel $child2 " bnbn "
$tabs;

setParent ..;
setParent ..;


showWindow;

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads