PDA

View Full Version : Mel beginner - help please


StefanStavrev
08-19-2006, 03:15 PM
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 ?

Segmoria
08-23-2006, 03:14 PM
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;

CGTalk Moderation
08-23-2006, 03:14 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.