PDA

View Full Version : GUI colorIndexSliderGrp Problem...?


JellyFire
12-09-2007, 03:25 PM
Hey, I have something similar to this:

string $window = `window`;
string $form = `formLayout -numberOfDivisions 100`;
string $but9 = `colorIndexSliderGrp -label "Colour" -min 0 -max 32 -value 0`;

formLayout -edit
//Button9
-attachForm $but9 "top" 5
-attachForm $but9 "left" 5
-attachNone $but9 "bottom"
-attachNone $but9 "right"
$form;
showWindow $window;
The "problem" is I can't seem to move it over any further to the left...
Anyone know how I can overcome this annoying feature?

Thanks
Christian

flaiver
12-09-2007, 03:33 PM
Yes - this bother me too. The only way I found to get rid of that is using the -cw flag, e.g.

string $but9 = `colorIndexSliderGrp -cw 1 40 -label "Colour" -min 0 -max 32 -value 0`;

Hope this helps

flaiver

JellyFire
12-09-2007, 03:44 PM
Wicked! Thanks mate!
Yeah I tried the -cw before, as well as -cw1 etc...
Didn't really seem to help me, but it does now!
Cheers
Christian

CGTalk Moderation
12-09-2007, 03:44 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.