Closed GoogleCodeExporter closed 9 years ago
Cody the ECBaseDlg code has changed. It used to be:
self._sizer = wx.BoxSizer(wx.VERTICAL)
# Setup
self.SetSizer(self._sizer)
And then the ExpressionDialog uses self._sizer.
Now the ECBaseDlg says:
self.SetSizer(wx.BoxSizer(wx.VERTICAL))
How can I get the sizer object?
Original comment by rans1...@gmail.com
on 26 Mar 2012 at 8:12
Hi,
Don't remember when I changed that but must have missed this usage.
All Window objects store their sizer object you can easily get to it by either:
self.GetSizer() # Returns the sizer object
OR
self.Sizer # Sizer object property
Original comment by CodyPrec...@gmail.com
on 26 Mar 2012 at 8:16
I have replaced all self._sizer with self.Sizer which should fix this bug.
Original comment by rans1...@gmail.com
on 26 Mar 2012 at 8:23
Original comment by rans1...@gmail.com
on 30 Mar 2012 at 8:19
Original issue reported on code.google.com by
CodyPrec...@gmail.com
on 21 Jan 2012 at 4:50