[vtkusers] Remove white outline on slider text

David Doria daviddoria+vtk at gmail.com
Thu Jan 14 09:57:42 EST 2010


To change the font color of a slider, I found to do this:
sliderRep->GetTitleProperty()->SetColor(1,0,0);//red

However, as this example demonstrates:
http://www.cmake.org/Wiki/VTK/Examples/Widgets/Cxx/Slider2D

there is a white outline around the red text:
http://www.rpi.edu/~doriad/VTK_List/slider.jpg

Anyone know how to remove the outline and simply make the text red?

Thanks,

David



More information about the vtkusers mailing list