[vtkusers] Carriage return in the title of a vtkScalarBarActor

Hugues Wisniewski h_wski at yahoo.com
Tue Jun 13 19:52:46 EDT 2000


When I add carriage return in the title of a scalar bar actor, for example :

pScalarBarActor->SetTitle("Title\nCarriage\nReturn");

the title appears in three lines as asked, but there's also a three line offset
in the text values corresponding to the colors, when my scalar bar is vertical.
How can this be fixed ?
Thank you.
Hugues


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com




More information about the vtkusers mailing list