PDA

View Full Version : shelf layout and frame layout


Eshta
08-08-2008, 11:34 PM
this might be simple question..I'm just starting on MEL :blush:
I'm trying to add a framelayout under my shelf
here is my code

window;
shelfTabLayout
-image "smallTrash.xpm"
-imageVisible true mainShelfTab;
shelfLayout Dynamics;
columnLayout;
frameLayout -label "First frame";
columnLayout;
text -l "Text element";
intFieldGrp -l "intField";
button -l "Button";
text -l "etc";
setParent ..;
setParent ..;
frameLayout -label "Second frame" -collapsable 1;
columnLayout;
text -l "Text element";
intFieldGrp -l "intField";
button -l "Button";
text -l "etc";
setParent ..;
setParent ..;
setParent ..;
shelfLayout Rendering;
setParent ..;
shelfLayout Animation;
setParent ..;
showWindow;

it can work if i hashed out the first shelf
but that is wrong

thanks

Ash-Man
08-12-2008, 07:44 PM
I'm not a MEL expert, but I don't think thats a good approach
maybe try "tabLayout" rather than "shelfTabLayout"

CGTalk Moderation
08-12-2008, 07:44 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.