Changeset df566e8 in sasview for fittingview/src/sans/perspectives/fitting/simfitpage.py
- Timestamp:
- Oct 14, 2011 12:27:40 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 2170921d
- Parents:
- 62ffd8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/simfitpage.py
r53fc5ad9 rdf566e8 202 202 203 203 self._update_easy_setup_cb() 204 self.Refresh() 204 205 205 206 def check_model_name(self,event): … … 233 234 if len(self.model_list)==len(self.model_toFit): 234 235 self.cb1.SetValue(True) 236 self.Layout() 235 237 return 236 238 else: 237 239 self.cb1.SetValue(False) 240 self.Layout() 238 241 239 242 def _update_easy_setup_cb(self): … … 652 655 sizer_button = wx.BoxSizer(wx.HORIZONTAL) 653 656 654 self.btFit = wx.Button(self,wx.NewId(),'Fit' )657 self.btFit = wx.Button(self,wx.NewId(),'Fit', size=wx.DefaultSize) 655 658 self.btFit.Bind(wx.EVT_BUTTON, self.onFit,id= self.btFit.GetId()) 656 659 self.btFit.SetToolTipString("Perform fit.") … … 662 665 663 666 sizer_button.Add(text_hint, wx.RIGHT|wx.EXPAND, 10) 664 sizer_button.Add(self.btFit, 0, wx.LEFT|wx. EXPAND|wx.ADJUST_MINSIZE, 10)667 sizer_button.Add(self.btFit, 0, wx.LEFT|wx.ADJUST_MINSIZE, 10) 665 668 666 669 boxsizer1.Add(sizer_button, flag= wx.TOP|wx.BOTTOM,border=10)
Note: See TracChangeset
for help on using the changeset viewer.