From: Daid Date: Fri, 9 Mar 2012 14:53:39 +0000 (+0100) Subject: Really fixed it this time... I hope X-Git-Tag: RC1~120 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=41736f70c384f42d40e39c1b4b346d7a8dfb9c51;p=cura.git Really fixed it this time... I hope --- diff --git a/SkeinPyPy_NewUI/newui/configBase.py b/SkeinPyPy_NewUI/newui/configBase.py index 645807ad..4355e0ed 100644 --- a/SkeinPyPy_NewUI/newui/configBase.py +++ b/SkeinPyPy_NewUI/newui/configBase.py @@ -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():