Ignore:
Timestamp:
Apr 14, 2010 3:55:59 PM (15 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:
355b684
Parents:
1350c87
Message:

changed the check box default to unchecked. Instead, tip strings are added.

File:
1 edited

Legend:

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

    r19403da r2f6c260  
    19931993        iy = 0 
    19941994        ix = 0 
    1995         select_text = "Uncheck all to fix" 
     1995        select_text = "Select All" 
    19961996        self.cb1 = wx.CheckBox(self, -1,str(select_text), (10, 10)) 
    19971997        wx.EVT_CHECKBOX(self, self.cb1.GetId(), self.select_all_param) 
    1998         self.cb1.SetValue(True) 
     1998        self.cb1.SetToolTipString("To check/uncheck all the boxes below.") 
     1999        #self.cb1.SetValue(True) 
    19992000         
    20002001        sizer.Add(self.cb1,(iy, ix),(1,1),\ 
     
    20382039                ix = 0 
    20392040                ## add parameters name with checkbox for selecting to fit 
    2040                 cb = wx.CheckBox(self, -1, item ) 
    2041                 cb.SetValue(True) 
     2041                cb = wx.CheckBox(self, -1, item )               
     2042                cb.SetToolTipString(" Check/uncheck to fit/fix the parameter.") 
     2043                #cb.SetValue(True) 
    20422044                wx.EVT_CHECKBOX(self, cb.GetId(), self.select_param) 
     2045                 
    20432046                sizer.Add( cb,( iy, ix),(1,1), 
    20442047                             wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5) 
Note: See TracChangeset for help on using the changeset viewer.