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
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
