[Boa Constr] resolve constraints dynamically
Status: Beta
Brought to you by:
riaan
From: Hans-Peter J. <hp...@ur...> - 2002-03-23 02:48:44
|
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| As always, any hints appreciated. Read you, Hans-Peter |