Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Programming (https://simplymaya.com/forum/forumdisplay.php?f=32)
-   -   How to Remove Extra space between layouts #MEL (https://simplymaya.com/forum/showthread.php?t=62185)

jayantbhatt1997 16-02-2020 10:08 AM

How to Remove Extra space between layouts #MEL
 
1 Attachment(s)
Hi can anyone tell me how can I remove the extra space between these two layouts ( Check screenshot)


Attachment 58008




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;


All times are GMT. The time now is 06:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018