CGTalk > Software Specific Forums > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 08-19-2006, 02:15 PM   #1
StefanStavrev
Art Crazy
 
StefanStavrev's Avatar
portfolio
Stefan Stavrev
Macedonia
 
Join Date: Jun 2006
Posts: 325
Send a message via Yahoo to StefanStavrev
Mel beginner - help please

Look at the pic guys :

http://www.slibe.com/image/4e81afc6-problem1-JPG/

This is the script :

================================================== =====

frameLayout -collapsable 1 -w 260 -h 60 -l "Curvature";

rowColumnLayout -nc 1 -columnAttach 1 "both" 20 -rowAttach 1 "top" 5 -columnAlign 1 "right" -columnWidth 1 260 column3;

floatSliderGrp -field 1 -minValue -4 -maxValue 4 slider1;

================================================== =====

The maximum value is 10 but the floatFieldGrp is covered

Where am i wrong guys ?
 
Old 08-23-2006, 02:14 PM   #2
Segmoria
 
Segmoria's Avatar
portfolio
Eirini Stefanopoulou
Athens, Greece
 
Join Date: Feb 2002
Posts: 424
Send a message via MSN to Segmoria
For a start, the maximum value is 4, not 10, and the slider is being acting this way because the columnWidth variable within the rowColumnLayout is set too low, just try increasing it to 280 and then also increase the width of the frameLayout.

Code:
frameLayout -collapsable 1 -w 280 -h 60 -l "Curvature"; rowColumnLayout -nc 1 -columnAttach 1 "both" 20 -rowAttach 1 "top" 5 -columnAlign 1 "right" -columnWidth 1 280 column3; floatSliderGrp -field 1 -minValue -4 -maxValue 10 slider1;
 
Old 08-23-2006, 02:14 PM   #3
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:13 AM.


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