Author: bugman Date: Thu Jul 28 22:46:58 2011 New Revision: 13974 URL: http://svn.gna.org/viewcvs/relax?rev=13974&view=rev Log: The missing data and question dialogs are now centred. Modified: branches/gui_testing/gui/message.py Modified: branches/gui_testing/gui/message.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/message.py?rev=13974&r1=13973&r2=13974&view=diff ============================================================================== --- branches/gui_testing/gui/message.py (original) +++ branches/gui_testing/gui/message.py Thu Jul 28 22:46:58 2011 @@ -101,6 +101,9 @@ # Set the initial size. self.SetSize((600, 400)) + # Centre the window. + self.Centre() + # A sizer for the dialog. main_sizer = wx.BoxSizer(wx.HORIZONTAL) self.SetSizer(main_sizer) @@ -183,6 +186,9 @@ # Set up the window icon. self.SetIcons(relax_icons) + # Centre the window. + self.Centre() + # A sizer for the dialog. main_sizer = wx.BoxSizer(wx.HORIZONTAL) self.SetSizer(main_sizer)