<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi Sahil,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>You cannot set the font size - it is chosen
automatically to fit the region occupied by vtkScalarBarActor. </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>If you want to change this behaviour, you will need
to change <FONT size=2>vtkScalarBarActor::SizeTitle().</FONT></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>This is the situation for version 5.4. Since the
font size is not changing, I suspect this code has not changed.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>HTH</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>John.</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=sahil6786@gmail.com href="mailto:sahil6786@gmail.com">sahil6786</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@vtk.org
href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 07, 2011 10:12
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [vtkusers] vtkScalarBar
Title font issue</DIV>
<DIV><BR></DIV>Hii philippe,
<DIV>Im not explicitly setting any mapper to vtkScalarBar object.The default
mapper it uses is vtkMapper2D. Im trying to set font
by pScalarBarActor->GetTitleTextProperty()->SetFontSize(25);</DIV>
<DIV>Do you know how i can call SetMultipleConstrainedFontSize().</DIV>
<DIV><BR></DIV>
<DIV>Thank you for your answer.</DIV>
<DIV><BR></DIV>
<DIV>Regards,</DIV>
<DIV>Sahil<BR><BR>
<DIV class=gmail_quote>On Tue, Dec 6, 2011 at 2:29 PM, Philippe Pebay [via
VTK] <SPAN dir=ltr><<A
href="/user/SendEmail.jtp?type=node&node=5055098&i=0" rel=nofollow
target=_top link="external">[hidden email]</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV class=im>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>
<DIV>
<DIV class=h5>
<DIV class=gmail_quote>On Tue, Dec 6, 2011 at 9:37 AM, sahil6786 <SPAN
dir=ltr><<A
href="http://user/SendEmail.jtp?type=node&node=5051466&i=0"
rel=nofollow target=_blank link="external">[hidden email]</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #cccccc 2px solid; PADDING-BOTTOM: 0px; PADDING-LEFT: 1em; PADDING-RIGHT: 1em; PADDING-TOP: 0px"
class=gmail_quote>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"
rel=nofollow target=_blank
link="external">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" rel=nofollow target=_blank
link="external">www.kitware.com</A><BR><BR>Visit other Kitware open-source
projects at <A href="http://www.kitware.com/opensource/opensource.html"
rel=nofollow target=_blank
link="external">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" rel=nofollow target=_blank
link="external">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" rel=nofollow
target=_blank
link="external">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
rel=nofollow target=_top link="external" value="+33426685003">+33
(0)4.37.45.04.15</A></FONT><FONT color=#888888><BR><A
href="http://www.kitware.fr/" rel=nofollow target=_blank
link="external">http://www.kitware.fr</A></FONT><BR><BR>_______________________________________________
<BR>Powered by <A href="http://www.kitware.com" rel=nofollow target=_blank
link="external">www.kitware.com</A> <BR><BR>Visit other Kitware open-source
projects at <A href="http://www.kitware.com/opensource/opensource.html"
rel=nofollow target=_blank
link="external">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" rel=nofollow target=_blank
link="external">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" rel=nofollow
target=_blank
link="external">http://www.vtk.org/mailman/listinfo/vtkusers</A><BR><BR><BR></DIV></DIV>
<HR color=#cccccc SIZE=1 noShade>
<DIV
style="FONT: 12px tahoma,geneva,helvetica,arial,sans-serif; COLOR: #444">
<DIV style="FONT-WEIGHT: bold">If you reply to this email, your message will
be added to the discussion below:</DIV><A
href="http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5051466.html"
rel=nofollow target=_blank
link="external">http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5051466.html</A>
</DIV>
<DIV
style="MARGIN-TOP: 0.4em; FONT: 11px/1.5em tahoma,geneva,helvetica,arial,sans-serif; COLOR: #666">To
unsubscribe from vtkScalarBar Title font issue, <A href="" rel=nofollow
target=_blank link="external">click here</A>.<BR><A style="FONT: 9px serif"
href="http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml"
rel=nofollow target=_blank link="external">NAML</A>
</DIV></BLOCKQUOTE></DIV><BR></DIV><BR>
<HR align=left width=300>
View this message in context: <A
href="http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5055098.html">Re:
vtkScalarBar Title font issue</A><BR>Sent from the <A
href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users
mailing list archive</A> at Nabble.com.<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Powered by
www.kitware.com<BR><BR>Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html<BR><BR>Please keep messages
on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ<BR><BR>Follow this link to
subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE></BODY></HTML>