chiark / gitweb /
Really fixed it this time... I hope
authorDaid <daid303@gmail.com>
Fri, 9 Mar 2012 14:53:39 +0000 (15:53 +0100)
committerDaid <daid303@gmail.com>
Fri, 9 Mar 2012 14:53:39 +0000 (15:53 +0100)
SkeinPyPy_NewUI/newui/configBase.py

index 645807ad1f30bd56f24569c4410b29bc7a1aaea3..4355e0ed22e46ae65856779a7f6f06f4b4ff4691 100644 (file)
@@ -89,8 +89,8 @@ class TitleRow():
                x = sizer.GetRows()
                self.title = wx.StaticText(panel, -1, name)
                self.title.SetFont(wx.Font(8, wx.FONTFAMILY_DEFAULT, wx.NORMAL, wx.FONTWEIGHT_BOLD))
-               sizer.Add(self.title, (sizer.GetRows(),0), (1,3), flag=wx.EXPAND)
-               sizer.Add(wx.StaticLine(panel), (sizer.GetRows()+1,0), (1,3), flag=wx.EXPAND)
+               sizer.Add(self.title, (x,0), (1,3), flag=wx.EXPAND)
+               sizer.Add(wx.StaticLine(panel), (x+1,0), (1,3), flag=wx.EXPAND)
                sizer.SetRows(x + 2)
 
 class SettingRow():