Author: bugman Date: Fri Jul 22 13:50:23 2011 New Revision: 13833 URL: http://svn.gna.org/viewcvs/relax?rev=13833&view=rev Log: Fix for the model-free model choice buttons - they now size properly and are not too wide. Modified: branches/gui_testing/gui/analyses/auto_model_free.py Modified: branches/gui_testing/gui/analyses/auto_model_free.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/auto_model_free.py?rev=13833&r1=13832&r2=13833&view=diff ============================================================================== --- branches/gui_testing/gui/analyses/auto_model_free.py (original) +++ branches/gui_testing/gui/analyses/auto_model_free.py Fri Jul 22 13:50:23 2011 @@ -296,7 +296,7 @@ button = getattr(self, name) # Set the properties. - button.SetMinSize((-1, 25)) + button.SetMinSize((20, 25)) button.SetFont(self.gui.font_button) button.SetToolTipString(text[i]) @@ -304,7 +304,7 @@ button.SetValue(1) # Add the button. - sizer.Add(button, 1, wx.ADJUST_MINSIZE, 0) + sizer.Add(button, 1, wx.ALL|wx.EXPAND, 0) # Add the title and buttons to the main box. box.Add(sizer, 0, wx.ALL|wx.EXPAND, 0)