]> git.saurik.com Git - wxWidgets.git/commitdiff
tweak the spin button size
authorRobin Dunn <robin@alldunn.com>
Thu, 15 Jan 2004 23:33:19 +0000 (23:33 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 15 Jan 2004 23:33:19 +0000 (23:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/SpinButton.py

index eb5504f006d8474ca06433021d70962dddf6da29..9f09e5d8f2b2be8c16e6881eb30cc58713c64d8f 100644 (file)
@@ -18,7 +18,7 @@ class TestPanel(wx.Panel):
         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)
         self.spin.SetRange(1, 100)
         self.spin.SetValue(1)