View Full Version : how to decrease the wide of the slider on the intSliderGrp command

01-20-2008, 06:24 PM

Now I canīt make the slider less wide.The -cw works on the first 2 columns that are the label and the text field,but not on the slider.In the following code I have -cw 3 10.It is supposed to make the slider column 10 but it is widder.

string $window = `window -title "intSliderGrp Example" -w 300`;

columnLayout -cw 50 -cat "left" 5;

intSliderGrp -label "Group 1" -field true -cal 1 left -cw 1 50 -cw 2 25 -cw 3 10;

showWindow $window;

what am I doing wong? :shrug:


01-21-2008, 11:03 AM
Maybe like this:

string $window = `window -title "intSliderGrp Example" -w 150`;

columnLayout -cat "left" 5 -w 150;

intSliderGrp -label "Group 1" -field true -cal 1 left -cw 1 50 -cw 2 50 -cw 3 50 -adj 3 -w 150;

showWindow $window;

-adj = adjustable column number, so Maya can squeeze the control

01-21-2008, 05:09 PM

Thanks again man.

CGTalk Moderation
01-21-2008, 05:09 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.