<div dir="ltr">Here is the working one attached.<br><br>You need to click the mainWindow/centralWidget and select grid layout.<br><br><br>Jothy<br><br><br><br><div class="gmail_quote">On Wed, Aug 10, 2011 at 4:09 PM, Federico Milano <span dir="ltr">&lt;<a href="mailto:fmilano@gmail.com">fmilano@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Jothy,<br><br>It&#39;s still not working. As I&#39;m experimenting on the SimpleView example, I&#39;m attaching my SimpleView.ui file. If you please could see it and check if there&#39;s something wrong in my size policy/stretch/layout settings it would really be great.<br>


<br>Thanks again for your time!<br><font color="#888888"><br>Federico</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Aug 10, 2011 at 10:51 AM, Jothy <span dir="ltr">&lt;<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div dir="ltr">Have you tried setting the QVTLWidget in a grid layout?<br><br>Jothy<br><br>
<div class="gmail_quote">
<div><div></div><div>On Wed, Aug 10, 2011 at 2:41 PM, Federico Milano <span dir="ltr">&lt;<a href="mailto:fmilano@gmail.com" target="_blank">fmilano@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>Hi. I&#39;m using QVTKWidget to interface Qt and VTK. The problem is that when I maximize the Qt windows, the QVTKWidget does not change its size. I&#39;ve tried many combinations of size policies, but combinations that work fine for other controls do not work for this one. Do you have any hint or suggestion?<br>





<br>Thanks in advance,<br><font color="#888888"><br>Federico<br>
</font><br></div></div>_______________________________________________<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></blockquote></div><br></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>