modong
01-12-2008, 07:07 AM
Hey guys,
I was trying to ceate some UI using layerButton, somehow can't seems to set the color on layerButton UI control. It will work if I create a layer and set the layer to the control but I don't want to create a layer with it.
window;
columnLayout;
layerButton -label "myLabel" test;
showWindow;
//then when I try to set the color it doesn't work?
layerButton -edit -color 0 1.0 0 test;
any thoughts ?
I was trying to ceate some UI using layerButton, somehow can't seems to set the color on layerButton UI control. It will work if I create a layer and set the layer to the control but I don't want to create a layer with it.
window;
columnLayout;
layerButton -label "myLabel" test;
showWindow;
//then when I try to set the color it doesn't work?
layerButton -edit -color 0 1.0 0 test;
any thoughts ?
