Changeset 270e240 in sasview


Ignore:
Timestamp:
Apr 22, 2011 1:13:15 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
1868cf3
Parents:
04295ea
Message:

Changed the Stop button color from background to foreground

File:
1 edited

Legend:

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

    r2657df9 r270e240  
    989989        self.btFit.Unbind(event=wx.EVT_BUTTON, id= self.btFit.GetId()) 
    990990        if self.btFit.GetLabel().lower() == "stop": 
    991             self.btFit.SetBackgroundColour('red') 
     991            self.btFit.SetForegroundColour('red') 
    992992            self.btFit.Bind(event=wx.EVT_BUTTON, handler=self._StopFit, 
    993993                             id=self.btFit.GetId()) 
    994994        elif self.btFit.GetLabel().lower() == "fit": 
    995995            self.btFit.SetDefault() 
     996            self.btFit.SetForegroundColour('black') 
    996997            #self.btFit.SetBackgroundColour(self.default_bt_colour) 
    997998            self.btFit.Bind(event=wx.EVT_BUTTON, handler=self._onFit,  
Note: See TracChangeset for help on using the changeset viewer.