Hi,<br><br>I've got the same behaviour here, the size of any QVTKWidget is not correct, it's only in the top left, see these 2 links with image from exemple "SimpleView" and from Paraview :<br><a href="http://img262.imageshack.us/img262/7940/paravibx2.jpg">http://img262.imageshack.us/img262/7940/paravibx2.jpg</a><br>
<a href="http://img385.imageshack.us/img385/297/qvtkwidgetrx8.jpg">http://img385.imageshack.us/img385/297/qvtkwidgetrx8.jpg</a><br><br>Running kubuntu 8.10 64 bit, dual screen on Geforce quadro FX 4500, QT 4.4.3, VTK 5.2<br>
<br>Anyone as the same problem ? Is it related to the dual screen ? It's seem's that the height of the widget is exactly half of the normal height...<br><br>It's also strange that this doesn't occurs everytimes, sometimes it's the correct but i can't find when...<br>
<br>Thxs for helping and for the great library !<br>Simon<br><br><div class="gmail_quote">On Mon, May 26, 2008 at 16:57, John Eke <span dir="ltr"><<a href="mailto:johne@annidis.com">johne@annidis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I have subclassed QVTKWidget, and created two of these widgets inside a frame using horizontal layout. I also set their size policies so that combined, they occupy the entire container (the frame). But for some reason when the app runs, these two QVTKWidget sub classes initialize to a tiny boxes at the top left of the area they are supposed to fill. I also noticed that if I watch for a while, the entire application freezes. Then by clicking anywhere in the entire application, both widgets then occupy the actual region they are supposed to then all is fine.<br>
<br>
This is very wierd behaviour, I am fairly new to VTK as a whole. I have tried to manually call resize() in the constructor of the subclasses, and I have also tried to call resize() in the constructor of the main window that initializes the two instances of the subclass. Still nothing.<br>
<br>
Has anyone experienced this before? I think maybe there is something QVTK specific that I am not initializing<br>
<br>
Thanks<br>
<br>
- John<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><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>
</blockquote></div><br><br clear="all"><br>-- <br>------------------------------------------------------------------<br>Simon Esneault<br>Laboratoire Traitement du Signal et de l'Image, (LTSI, UMR-INSERM 642)<br>Université de Rennes I, Campus de Beaulieu, <br>
35042 Rennes Cedex, France.<br>Tel : +33 (0)6 64 61 30 94<br>Mail : <a href="mailto:simon.esneault@univ-rennes1.fr">simon.esneault@univ-rennes1.fr</a><br>------------------------------------------------------------------<br>