Forum: Poser Python Scripting


Subject: Display problems with wx.SpinCtrl on Mac OSX?

Cage opened this issue on Mar 07, 2014 · 9 posts


Cage posted Wed, 12 March 2014 at 9:43 PM

To provide some closure for the original question, it looks like SpinCtrl on OSX requires the use of a Wx sizer for proper display.  Without the sizer, weird things can happen.

Quote - self.divparm = wx.SpinCtrl(self, value="10",pos=(145,0), size=(50,20))

No sizer, bad.

Quote - sctrl = wx.SpinCtrl(self, value="64", min=35, max=75, initial = 64)
        sctrl.SetMinSize((150, -1))
        sizer.Add(sctrl)

Sizer, good.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.