<div dir="ltr">The issue remains on Windows with rc2. I also ran the test (#38) and it worked fine. I'll try to isolate a case where I can reproduce the problem.<div><br></div><div style>Alex</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jun 5, 2013 at 11:21 AM, Alexandre Boucher <span dir="ltr"><<a href="mailto:afboucher@gmail.com" target="_blank">afboucher@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks for looking at this.<div><br></div><div>I checked on my linux build and the bar is fine (with rc2). I have the rc1 on my windows machine. I will recompile everything with rc2 on windows and try again.</div>
<div><br></div><div>Thanks</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 5, 2013 at 10:48 AM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David,<br>
<div><br>
> @David Thompson. Will <a href="http://review.source.kitware.com/#/t/2845/" target="_blank">http://review.source.kitware.com/#/t/2845/</a> fix this?<br>
<br>
</div>I don't think so; it appears that the scalar bar height is being computed incorrectly. The topic you mention just changes font sizes, not the rectangle for the scalar bar.<br>
<br>
If I had to guess... it might be related to changing the coordinate system of one of the actor's control points with SetCoordinateSystemToNormalizedViewport(). But doing the same to some test code didn't cause a similar problem.<br>
<span><font color="#888888"><br>
David<br>
</font></span><div><div><br>
<br>
> On Wed, Jun 5, 2013 at 11:54 AM, Alexandre Boucher <<a href="mailto:afboucher@gmail.com" target="_blank">afboucher@gmail.com</a>> wrote:<br>
> Hello all,<br>
><br>
> I am having problems with vtkScalarBarWidget with the release candidate (on Windows 7). When in vertical mode the bar is either very tall or not positioned properly. The white bounding box that shows up when the cursor move on top the widget is displaying correctly It is fine in horizontal mode (see attached figures.)<br>
><br>
> Here how the widget is created<br>
><br>
> cbar_widget_ = vtkScalarBarWidget::New();<br>
> cbar_widget_->GetScalarBarActor()->GetLabelTextProperty()->BoldOff();<br>
> cbar_widget_->GetScalarBarActor()->GetLabelTextProperty()->ShadowOff();<br>
> cbar_widget_->GetScalarBarActor()->GetLabelTextProperty()->SetFontSize(8);<br>
> cbar_widget_->GetScalarBarActor()->GetPositionCoordinate()->SetCoordinateSystemToNormalizedViewport();<br>
><br>
> and later on:<br>
> cbar_widget_->SetInteractor( renderer_->GetRenderWindow()->GetInteractor() );<br>
><br>
> Does anyone has an idea of what is going on?<br>
><br>
> Best,<br>
> Alex<br>
><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>
><br>
><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>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>