Various layout fixes and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,8 +17,9 @@ class TestPanel(wx.Panel):
|
||||
|
||||
self.text = wx.TextCtrl(self, -1, "1", (30, 50), (60, -1))
|
||||
h = self.text.GetSize().height
|
||||
w = self.text.GetSize().width + self.text.GetPosition().x
|
||||
|
||||
self.spin = wx.SpinButton(self, -1, (92, 50), (h/2, h), wx.SP_VERTICAL)
|
||||
self.spin = wx.SpinButton(self, -1, (w + 6, 50), (h/2, h), wx.SP_VERTICAL)
|
||||
self.spin.SetRange(1, 100)
|
||||
self.spin.SetValue(1)
|
||||
|
||||
|
Reference in New Issue
Block a user