Author: bugman Date: Tue Jun 14 14:48:50 2011 New Revision: 12985 URL: http://svn.gna.org/viewcvs/relax?rev=12985&view=rev Log: All the analysis tab GUI elements now use the new design of the add_border() fn. Modified: 1.3/gui/analyses/auto_model_free.py 1.3/gui/analyses/auto_noe.py 1.3/gui/analyses/auto_rx_base.py 1.3/gui/analyses/results.py Modified: 1.3/gui/analyses/auto_model_free.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/auto_model_free.py?rev=12985&r1=12984&r2=12985&view=diff ============================================================================== --- 1.3/gui/analyses/auto_model_free.py (original) +++ 1.3/gui/analyses/auto_model_free.py Tue Jun 14 14:48:50 2011 @@ -188,11 +188,15 @@ # The parent GUI element for this class. self.parent = wx.Panel(notebook, -1) + # Pack a sizer into the panel. + box_main = wx.BoxSizer(wx.HORIZONTAL) + self.parent.SetSizer(box_main) + # Build the central sizer, with borders. - box = add_border(self.parent, border=self.border, packing=wx.HORIZONTAL) + box_centre = add_border(box_main, border=self.border, packing=wx.HORIZONTAL) # Build and pack the main sizer box, then add it to the automatic model-free analysis frame. - self.build_main_box(box) + self.build_main_box(box_centre) def _about(self, event): Modified: 1.3/gui/analyses/auto_noe.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/auto_noe.py?rev=12985&r1=12984&r2=12985&view=diff ============================================================================== --- 1.3/gui/analyses/auto_noe.py (original) +++ 1.3/gui/analyses/auto_noe.py Tue Jun 14 14:48:50 2011 @@ -83,11 +83,15 @@ # The parent GUI element for this class. self.parent = wx.Panel(notebook, -1) + # Pack a sizer into the panel. + box_main = wx.BoxSizer(wx.HORIZONTAL) + self.parent.SetSizer(box_main) + # Build the central sizer, with borders. - box = add_border(self.parent, border=self.border, packing=wx.HORIZONTAL) + box_centre = add_border(box_main, border=self.border, packing=wx.HORIZONTAL) # Build and pack the main sizer box, then add it to the automatic model-free analysis frame. - self.build_main_box(box) + self.build_main_box(box_centre) def assemble_data(self): Modified: 1.3/gui/analyses/auto_rx_base.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/auto_rx_base.py?rev=12985&r1=12984&r2=12985&view=diff ============================================================================== --- 1.3/gui/analyses/auto_rx_base.py (original) +++ 1.3/gui/analyses/auto_rx_base.py Tue Jun 14 14:48:50 2011 @@ -81,11 +81,15 @@ # The parent GUI element for this class. self.parent = wx.Panel(notebook, -1) + # Pack a sizer into the panel. + box_main = wx.BoxSizer(wx.HORIZONTAL) + self.parent.SetSizer(box_main) + # Build the central sizer, with borders. - box = add_border(self.parent, border=self.border, packing=wx.HORIZONTAL) + box_centre = add_border(box_main, border=self.border, packing=wx.HORIZONTAL) # Build and pack the main sizer box, then add it to the automatic model-free analysis frame. - self.build_main_box(box) + self.build_main_box(box_centre) def assemble_data(self): Modified: 1.3/gui/analyses/results.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/results.py?rev=12985&r1=12984&r2=12985&view=diff ============================================================================== --- 1.3/gui/analyses/results.py (original) +++ 1.3/gui/analyses/results.py Tue Jun 14 14:48:50 2011 @@ -60,11 +60,15 @@ # The parent GUI element for this class. self.parent = notebook + # Pack a sizer into the panel. + box_main = wx.BoxSizer(wx.HORIZONTAL) + self.parent.SetSizer(box_main) + # Build the central sizer, with borders. - box = add_border(self.parent, border=self.border, packing=wx.HORIZONTAL) + box_centre = add_border(box_main, border=self.border, packing=wx.HORIZONTAL) # Build and pack the main sizer box. - self.build_results_box(box) + self.build_results_box(box_centre) def add_model_free_results(self, box):