Changeset 1ae3fe1 in sasview


Ignore:
Timestamp:
Mar 27, 2009 9:37:42 AM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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
Message:

removing stop button for fit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage.py

    r0a518e4c r1ae3fe1  
    7878            add  access to npts 
    7979        """ 
    80         sizer_fit = wx.GridSizer(2, 2,0, 0) 
     80        sizer_fit = wx.GridSizer(1, 1,0, 0) 
    8181     
    8282        self.btFit = wx.Button(self,wx.NewId(),'Fit') 
     
    8484        self.btFit.SetToolTipString("Perform fit.") 
    8585         
    86         self.btStopFit = wx.Button(self,wx.NewId(),'Stop Fit') 
     86        #self.btStopFit = wx.Button(self,wx.NewId(),'Stop Fit') 
    8787        #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.") 
    8989        #self.btStopFit.Hide() 
    9090         
    9191        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)  
    9594         
    9695        sizer_smearer = wx.BoxSizer(wx.HORIZONTAL) 
     
    313312            Allow to fit 
    314313        """ 
     314        #self.btFit.SetLabel("Stop") 
    315315        from sans.guiframe.utils import check_value 
    316316        flag = check_value( self.qmin, self.qmax)  
Note: See TracChangeset for help on using the changeset viewer.