<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Thanks for responses. When I put the code on its own, it worked...then
I realized I was using<br>
QMainWindow, so I had to setMainWidget on the splitter object.<br>
<br>
<br>
<br>
David Boddie wrote:
<blockquote cite="mid200610250047.05615.david@boddie.org.uk" type="cite">
<pre wrap="">On Tuesday 24 October 2006 14:52:45 -0700, Matt Chambers wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all, trying to use a QSplitter to separate 2 different widgets, they
both end up as little tiny things in the upper left hand corder of the
window.
Resizing the window doesn't affect them.
</pre>
</blockquote>
<pre wrap=""><!---->
Sounds like the splitter has been placed inside a widget but not in a layout.
You need to create a layout in its parent widget and add the splitter to
that.
David
_______________________________________________
PyKDE mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyKDE@mats.imk.fraunhofer.de">PyKDE@mats.imk.fraunhofer.de</a>
<a class="moz-txt-link-freetext" href="http://mats.imk.fraunhofer.de/mailman/listinfo/pykde">http://mats.imk.fraunhofer.de/mailman/listinfo/pykde</a>
</pre>
</blockquote>
<br>
</body>
</html>