FORUMS: list search recent posts

Re: Melscript: formLayouts in tabLayouts with frameLayouts?

COW Forums : Autodesk Maya

VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Jacqueline Johnsen
Re: Melscript: formLayouts in tabLayouts with frameLayouts?
on Mar 5, 2013 at 8:56:21 am

Heheh... Wow that was simple... My poor brain is probably on strike. But thanks a lot! My GUI Looks so pretty now!
Oh I had some issues with getting the other elements after the button on the same tab. But then my brain started functioning again and I simply placed the setparent before the other element which worked. I think I'm not used anymore to easy things... :D
So here it is, if someone is curious.$win = `window -t "tab layout"`;

tabLayout;

columnLayout tab1;
gridLayout -nrc 2 2 -cw 70 myForm;
button -label "button1" -width 70 -command "button1command" myBtn1;
button -label "button2" -width 70 -command "button2command" myBtn2;
setParent..;
text -l "This is not a button";

setParent..;

columnLayout tab2;
button -label "button3" -width 70 -command "button3command" myBtn3;
button -label "button4" -width 70 -command "button4command" myBtn4;

showWindow $win;


Again thank you so much! XD


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]