self.text = wx.TextCtrl(self, -1, "1", (30, 50), (60, -1))
h = self.text.GetSize().height
self.text = wx.TextCtrl(self, -1, "1", (30, 50), (60, -1))
h = self.text.GetSize().height
- self.spin = wx.SpinButton(self, -1, (92, 50), (h, h), wx.SP_VERTICAL)
+ self.spin = wx.SpinButton(self, -1, (92, 50), (h/2, h), wx.SP_VERTICAL)