<div dir="ltr">vtkCaptionWidget's text size is controlled by the underlying vtkCaptionActor2D's Position and Position2 parameters, which define the rectangle in which the caption will be rendered. The actual font size is adjusted to best fill the box.<div><br></div><div>Hope this helps,</div><div>Dave</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 28, 2015 at 4:22 PM, Jose Barreto <span dir="ltr"><<a href="mailto:jose.de.paula@live.com" target="_blank">jose.de.paula@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">VtkCaptionWidget'm using, but I can not change the font size. I saw that<br>
there are ways within<br>
text-> GetCaptionActor2D () -> GetTextActor () -> SetTextScaleMode (), but<br>
it still makes the source move from automatic foma.<br>
I tried using text-> GetCaptionActor2D () -> GetCaptionTextProperty () -><br>
SetFontSize (8);<br>
but with neither a combination of SetTextScaleMode () listens change the<br>
default font.<br>
<br>
There is something SetFontSize type? to set the font size independent of the<br>
box?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Text-vtkCaptionWidget-tp5734162.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Text-vtkCaptionWidget-tp5734162.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="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>