PDA

View Full Version : how to align to left the intSliderGrp


shenmue
01-18-2008, 11:36 PM
Hi

just a little thing I canīt do.I want to align the intSliderGrp to the left,but the only thing that is align is the text .:shrug: .Should te -cal command align also the textfield and the slider?

thanks


string $window = `window -title "intSliderGrp Example" -w 50`;
columnLayout -cw 50 -cat "left" 5;
intSliderGrp -label "Group 1" -field true -cal 1 left ;
intSliderGrp -label "Group 2" -field true
-minValue -10 -maxValue 10
-fieldMinValue -100 -fieldMaxValue 100
-value 0;
showWindow $window;

Buexe
01-18-2008, 11:48 PM
more like this?

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;

intSliderGrp -label "Group 2" -field true

-minValue -10 -maxValue 10 -cal 1 left

-fieldMinValue -100 -fieldMaxValue 100 -cw 1 50

-value 0;

showWindow $window;

shenmue
01-19-2008, 12:09 AM
exactly,thanks a lot

CGTalk Moderation
01-19-2008, 12:09 AM
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.