Changeset 1ae3fe1 in sasview
- Timestamp:
- Mar 27, 2009 11:37:42 AM (16 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:
- eef2e0ed
- Parents:
- 0a518e4c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r0a518e4c r1ae3fe1 78 78 add access to npts 79 79 """ 80 sizer_fit = wx.GridSizer( 2, 2,0, 0)80 sizer_fit = wx.GridSizer(1, 1,0, 0) 81 81 82 82 self.btFit = wx.Button(self,wx.NewId(),'Fit') … … 84 84 self.btFit.SetToolTipString("Perform fit.") 85 85 86 self.btStopFit = wx.Button(self,wx.NewId(),'Stop Fit')86 #self.btStopFit = wx.Button(self,wx.NewId(),'Stop Fit') 87 87 #self.btStopFit.Bind(wx.EVT_BUTTON, self.onStopFit,id= self.btStopFit.GetId()) 88 self.btStopFit.SetToolTipString("Stop Current fit job.")88 #self.btStopFit.SetToolTipString("Stop Current fit job.") 89 89 #self.btStopFit.Hide() 90 90 91 91 sizer_fit.Add((5,5),1, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5) 92 sizer_fit.Add((5,5)) 93 sizer_fit.Add(self.btFit,1, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5) 94 sizer_fit.Add(self.btStopFit,1, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5) 92 sizer_fit.Add(self.btFit,0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5) 93 #sizer_fit.Add(self.btStopFit,1, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5) 95 94 96 95 sizer_smearer = wx.BoxSizer(wx.HORIZONTAL) … … 313 312 Allow to fit 314 313 """ 314 #self.btFit.SetLabel("Stop") 315 315 from sans.guiframe.utils import check_value 316 316 flag = check_value( self.qmin, self.qmax)
Note: See TracChangeset
for help on using the changeset viewer.