Author: bugman Date: Wed Jun 15 19:06:19 2011 New Revision: 13059 URL: http://svn.gna.org/viewcvs/relax?rev=13059&view=rev Log: add_start_screen() now re-performs a main window layout. This allows for a proper layout once all analysis tabs have been deleted. Modified: branches/gui_testing/gui/relax_gui.py Modified: branches/gui_testing/gui/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/relax_gui.py?rev=13059&r1=13058&r2=13059&view=diff ============================================================================== --- branches/gui_testing/gui/relax_gui.py (original) +++ branches/gui_testing/gui/relax_gui.py Wed Jun 15 19:06:19 2011 @@ -224,6 +224,9 @@ sizer.Add(image, 0, wx.ALIGN_CENTER_HORIZONTAL, 0) sizer.AddStretchSpacer() + # Re-perform the layout of the GUI elements, if needed. + self.Layout() + def close_analysis(self, event): """Close the currently opened analysis.