Hello Sahil,<br><br>The size is set by vtkTextMapper::SetMultipleConstrainedFontSize() in order to fix the scalar bar size and orientation.<br><br>Best regards,<br>Philippe <br><br><div class="gmail_quote">On Tue, Dec 6, 2011 at 9:37 AM, sahil6786 <span dir="ltr"><<a href="mailto:sahil6786@gmail.com">sahil6786@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have created a vtkScalarBarActor object and rendered it on a window. But<br>
when i try to change the size of the scalarbar title by<br>
scalarBar->GetTitleTextProperty()->SetFontSize(25)..the size doesnt change<br>
at all. What will be the problem?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5051421.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5051421.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Philippe Pébay<br>Directeur de la Visualisation et du Calcul Haute Performance<br>
Kitware SAS<br>26 rue Louis Guérin<br>69100 Villeurbanne<br>France</font><br>
<font color="#888888"><a value="+33426685003">+33 (0)4.37.45.04.15</a></font><font color="#888888"><br><a href="http://www.kitware.fr/" target="_blank">http://www.kitware.fr</a></font><br>