[vtkusers] Remove white outline on slider text

David Doria daviddoria+vtk at gmail.com
Thu Jan 14 13:23:45 EST 2010


On Thu, Jan 14, 2010 at 12:25 PM, Dean Inglis <dean.inglis at camris.ca> wrote:
> how about sliderRep->GetTitleProperty()->ShadowOff();
>
> Dean
>
>> To change the font color of a slider, I found to do this:
>> sliderRep->GetTitleProperty()->SetColor(1,0,0);//red
>
>> Anyone know how to remove the outline and simply make the text red?
>

Dean,

Yes that will work, Frederic pointed that out this morning. It may
have been buried under the new "how to change the color" question :)
(which seems to have been resolved by saying "you cannot change the
color - it automatically changes to white or black based on some
conditions")

David



More information about the vtkusers mailing list