shelf layout and frame layout

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 08 August 2008   #1
shelf layout and frame layout

this might be simple question..I'm just starting on MEL
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
 
Old 08 August 2008   #2
I'm not a MEL expert, but I don't think thats a good approach
maybe try "tabLayout" rather than "shelfTabLayout"
__________________
Ash-Man
www.PixelCG.com
www.PixelCG.com/blog
 
Old 08 August 2008   #3
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:31 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.