Author: bugman Date: Fri Jun 10 14:50:16 2011 New Revision: 12966 URL: http://svn.gna.org/viewcvs/relax?rev=12966&view=rev Log: The model-free model buttons now expand to the correct width. Modified: 1.3/gui/analyses/auto_model_free.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=12966&r1=12965&r2=12966&view=diff ============================================================================== --- 1.3/gui/analyses/auto_model_free.py (original) +++ 1.3/gui/analyses/auto_model_free.py Fri Jun 10 14:50:16 2011 @@ -299,7 +299,7 @@ button = getattr(self, name) # Set the properties. - button.SetMinSize((70, 25)) + button.SetMinSize((-1, 25)) button.SetFont(self.gui.font_button) button.SetToolTipString(text[i]) @@ -307,7 +307,7 @@ button.SetValue(1) # Add the button. - sizer.Add(button, 0, wx.ADJUST_MINSIZE, 0) + sizer.Add(button, 1, wx.ADJUST_MINSIZE, 0) # Add the title and buttons to the main box. box.Add(sizer, 1, wx.EXPAND, 0)