Re: [Boa Constr] resolve constraints dynamically
Status: Beta
Brought to you by:
riaan
From: Hans-Peter J. <hp...@ur...> - 2002-03-24 15:29:32
|
On Saturday, 23. March 2002 01:51, Hans-Peter Jansen wrote: > Hi, > > while working on a composite control derived from wxComboBox, I'm trying > to solve the dynamic resizing part by overlaying SetConstraints(). > self.panel is the self contained parent of all other controls: > > def SetConstraints(self, constr): > wxComboBox.SetConstraints(self, constr) > # XXX: how resolve constraints dynamically? > self.panel.SetConstraints(LayoutAnchors(self.panel, true, true, > true, false)) #self.panel.SetConstraints(LayoutAnchors(self.panel, > constr.left, constr.top, #constr.right, constr.bottom)) > > It must be possible somehow, but I couldn't figure it out 8| Solved it myself(tm). I was simply thinking to complicated... The SpinCombo is ready, I've sent it to the wxPython list. If somebody is interrested here, I can put it on this list, too (but I suspect, all readers here are subscribed in the wxPython list, too) Cheers, Hans-Peter |