[PyKDE] layout issues

Matt Chambers chambers at imageworks.com
Wed Oct 25 21:00:57 BST 2006


Thanks for responses.  When I put the code on its own, it worked...then 
I realized I was using
QMainWindow, so I had to setMainWidget on the splitter object.



David Boddie wrote:
> On Tuesday 24 October 2006 14:52:45 -0700, Matt Chambers wrote:
>
>   
>> 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.
>>     
>
> 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    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20061025/7b5f07b5/attachment.html


More information about the PyQt mailing list