On Monday 22 June 2009 16:38:40 [email protected] wrote: > I too am hitting this roadblock. Is there a way that the layout can > automatically resize with the addition of new widgets? > > Matt Dubins > > -- Adam Chrystie wrote : > > As I add more QLineEdits, they are drawn closer and closer together and > eventually overlap each other instead of drawing spaced apart from each > other. > > Can anyone offer any tips to doing this? > > -- > This message was sent on behalf of [email protected] at > openSubscriber.com > http://www.opensubscriber.com/message/[email protected]/9665274.h >tml _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Trying calling resize on the widget using the result of layout.sizeHint(). I'm not sure that it'll work and I think it depends on how the layout is setup. Matt _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
