Re: [PyQt] layoutStretch property is sometimes not compiled by pyuic4

2010-09-23 Thread Phil Thompson
On Thu, 23 Sep 2010 09:19:49 +0200, "Giuseppe Corbelli" wrote: > If a layout is a child of FormLayout the setStretch calls are not > generated. > Besides if grid-position[0] == 0 the form does not stretch as in QT creator > (role is marked as label instead of field). > > I admit I don't really kn

[PyQt] layoutStretch property is sometimes not compiled by pyuic4

2010-09-23 Thread Giuseppe Corbelli
If a layout is a child of FormLayout the setStretch calls are not generated. Besides if grid-position[0] == 0 the form does not stretch as in QT creator (role is marked as label instead of field). I admit I don't really know the pyuic internals. This hack fixes the issue I found, hope it makes som