Ignore:
Timestamp:
Jun 11, 2010 10:54:30 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:
d0d7704
Parents:
9afd369
Message:

hiding button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/perspectives/calculator/sld_panel.py

    r25a2ee3 redb3a5d0  
    146146        self.neutron_inc_ctl.SetToolTipString("Neutron Inc. Xs") 
    147147        neutron_inc_units_txt = wx.StaticText(self, -1,  unit_cm1) 
    148         
     148        neutron_inc_txt.Hide() 
     149        self.neutron_inc_ctl.Hide() 
     150        neutron_inc_units_txt.Hide() 
    149151        neutron_abs_txt = wx.StaticText(self, -1, 'Neutron Abs. Xs')      
    150152        self.neutron_abs_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) 
     
    152154        self.neutron_abs_ctl.SetToolTipString("Neutron Abs. Xs") 
    153155        neutron_abs_units_txt = wx.StaticText(self, -1,  unit_cm1) 
    154          
     156        neutron_abs_txt.Hide() 
     157        self.neutron_abs_ctl.Hide() 
     158        neutron_abs_units_txt.Hide() 
    155159        neutron_length_txt = wx.StaticText(self, -1, 'Neutron 1/e length') 
    156160        self.neutron_length_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,-1)) 
     
    158162        self.neutron_length_ctl.SetToolTipString("Neutron 1/e length") 
    159163        neutron_length_units_txt = wx.StaticText(self, -1,  unit_cm) 
    160        
     164        neutron_length_txt.Hide() 
     165        self.neutron_length_ctl.Hide() 
     166        neutron_length_units_txt.Hide() 
    161167        iy = 0 
    162168        ix = 0 
Note: See TracChangeset for help on using the changeset viewer.