[PyQt] Fwd: Re: QSplitter and the border between widgets

Timothy W. Grove tim_grove at sil.org
Wed Oct 12 20:07:29 BST 2011


Ooops. I meant to send this reply to the list. Thanks for your help and 
suggestions!

-------- Original Message --------
Subject: 	Re: [PyQt] QSplitter and the border between widgets
Date: 	Tue, 11 Oct 2011 13:21:44 +0100
From: 	Timothy W. Grove <tim_grove at sil.org>
To: 	Pierre-Louis Bonicoli <pierre-louis.bonicoli at gmx.fr>



Thanks for this answer. In searching I also found these solutions which 
involved handwriting code instead of designer:

http://stackoverflow.com/questions/2545577/qsplitter-becoming-undistinguishable-between-qwidget-and-qtabwidget

Along the way I also found what I /"really" /needed, and that was to cut 
out the extra space through setting the borders and spacing on my 
layouts to 0. With the extra space gone, I didn't need to add lines to 
my splitter handles.

Best regards,
Tim

On 11/10/2011 11:24, Pierre-Louis Bonicoli wrote:
> On 11/10/2011 11:16, Timothy W. Grove wrote:
>
>> What I want to see is much less space between the widgets and a
>> visible splitter handle
> For the visible splitter, see here for how to do this using qt designer:
> http://doc.qt.nokia.com/latest/designer-layouts.html#splitter-layouts
> Select the widgets (they must not belong to a layout) and use buttons in
> the main toolbar "lay out vertically in splitter" or "lay out
> horizontally in splitter" (entries are available too in the context menu
> "Lay out").
>
> Pierre-Louis
> _______________________________________________
> PyQt mailing listPyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20111012/2201f354/attachment.html>


More information about the PyQt mailing list