Octagon
06-11-2003, 03:59 PM
hi there,
i noticed something strange when using "floatSliderButtonGrp". it doesnt seem to work they way it should. can someone tell me what i´m doing wrong?
Heres the code, look at the comments in upper case to see what i mean.
cheers,
matthias
{
if (`window -exists test`)
deleteUI test;
window test;
columnLayout -adj 1 -cat "both" 0;
colorSliderButtonGrp
-l "Color"
-rgb 1 0 0
-buttonLabel "Reset"
-symbolButtonDisplay 0 // no map texture button
-columnWidth 1 $uiCenter
-columnWidth 2 60
-columnWidth 3 30 // ADJUSTABLE SLIDER
-columnWidth 4 150 // ADJUSTABLE BUTTON
-cw 5 38
;
text -l "" -h 5;
floatSliderButtonGrp
-label "Scale"
-field 1
-buttonLabel "Reset"
-symbolButtonDisplay 0
-columnWidth 1 $uiCenter
-columnWidth 2 60
-columnWidth 3 30 // BUG?: SLIDER DOESNT DISPLAY CORRECTLY
-columnWidth 4 150 // BUG?: BUTTON CANNOT BE ADJUSTED
;
setParent ..;
showWindow;
}
i noticed something strange when using "floatSliderButtonGrp". it doesnt seem to work they way it should. can someone tell me what i´m doing wrong?
Heres the code, look at the comments in upper case to see what i mean.
cheers,
matthias
{
if (`window -exists test`)
deleteUI test;
window test;
columnLayout -adj 1 -cat "both" 0;
colorSliderButtonGrp
-l "Color"
-rgb 1 0 0
-buttonLabel "Reset"
-symbolButtonDisplay 0 // no map texture button
-columnWidth 1 $uiCenter
-columnWidth 2 60
-columnWidth 3 30 // ADJUSTABLE SLIDER
-columnWidth 4 150 // ADJUSTABLE BUTTON
-cw 5 38
;
text -l "" -h 5;
floatSliderButtonGrp
-label "Scale"
-field 1
-buttonLabel "Reset"
-symbolButtonDisplay 0
-columnWidth 1 $uiCenter
-columnWidth 2 60
-columnWidth 3 30 // BUG?: SLIDER DOESNT DISPLAY CORRECTLY
-columnWidth 4 150 // BUG?: BUTTON CANNOT BE ADJUSTED
;
setParent ..;
showWindow;
}
