On Sat, 12 Sep 2009 13:31:57 +0200, Michele Petrazzo - Unipex
<[email protected]> wrote:
> Hi list,
> I just create a form with qtdesigner with a gridlayout, put two widgets
> inside and set the property layoutRowStretch to 0,1 (default 0,0)
> Now I'm trying to transform it to the python code with pyuic4, but there
> is a problem because pyuic4 "forgot" to translate the "RowStretch" value.
> Doing a test with uic-qt4, I see:
> gridLayout->setRowStretch(1, 1);
> 
> and on .ui
> <layout class="QGridLayout" name="gridLayout" rowstretch="0,1">
> 
> but on the .py generated no.
> 
> Doing it inside my code (self.gridLayout.setRowStretch(1, 1)) it works
> without problem.

Should be fixed in tonights snapshot.

Thanks,
Phil
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to