Home Coding, Scripting, Shaders

Remove Extra space between layouts #MEL

polycounter lvl 5
Offline / Send Message
Pinned
jayantbhatt007 polycounter lvl 5
Hi can anyone tell me how can I remove the extra space between these two layouts ( Check screenshot)









   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;



  
Sign In or Register to comment.