Instead of preserving the required aspect ratio, as it did in version 2.4,
the wx.SHAPED flag now always creates a square window where the size is
determined by the smaller, vertical or horizontal, dimension of its sizer.
This is demonstrated in the attached, stand-alone example.
Instead of preserving the required aspect ratio, as it did in version 2.4, the wx.SHAPED flag now always creates a square window where the size is determined by the smaller, vertical or horizontal, dimension of its sizer. This is demonstrated in the attached, stand-alone example.
Weird. I didn't think anything was done in the recent changes that would affect the wx.SHAPED calculations. I'll take a quick peek.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Instead of preserving the required aspect ratio, as it did in version 2.4, the wx.SHAPED flag now always creates a square window where the size is determined by the smaller, vertical or horizontal, dimension of its sizer. This is demonstrated in the attached, stand-alone example.
Weird. I didn't think anything was done in the recent changes that would affect the wx.SHAPED calculations. I'll take a quick peek.
It was an initialization order problem.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!