[PyQt] layout management serious problem

Andreas Pakulat apaku at gmx.de
Sun Oct 14 21:24:41 BST 2007


On 14.10.07 22:00:38, think_resist at hushmail.com wrote:
> Hi guys,
> slowly slowly I am getting there, thanks to your assistance! There
> is one last thing that I need to address:
> 
> within my grid layout, I want to place some widgets on a different
> position, than the (row, column) system allows me.  (for example
> place two buttons together, under the same (row,column)
> combination. Can I do this, or do I have to implement a different
> layout?

Sure you can, this involves nested layout. First select the two buttons
and put them into a horizontal layout. Then out the horizontal layout
where the 2 buttons should be. Then select the widget again and put a
gridlayout. Now the 2 buttons will stay together in one cell.

Andreas

-- 
Your best consolation is the hope that the things you failed to get weren't
really worth having.


More information about the PyQt mailing list