CGTalk > Software > 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
Art Crazy
StefanStavrev's Avatar
Stefan Stavrev
Join Date: Jun 2006
Posts: 325
Send a message via Yahoo to StefanStavrev
Mel beginner - help please

Look at the pic guys :

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's Avatar
Eirini St
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.

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
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
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
Society of Digital Artists

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

All times are GMT. The time now is 02:03 PM.

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