Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/fitpage.py

    re870702 rdabcaf7  
    5050        # draw sizer 
    5151        self._fill_data_sizer() 
     52        self.is_2D = None 
    5253        self.fit_started = False 
    5354        self.weightbt_string = None 
     
    705706 
    706707                        ix = 3 
    707                         ctl2 = wx.TextCtrl(self, wx.ID_ANY, 
    708                                            size=(_BOX_WIDTH / 1.3, 20), 
    709                                            style=0) 
     708                        ctl2 = BGTextCtrl(self, wx.ID_ANY, 
     709                                           size=(_BOX_WIDTH / 1.3, 20)) 
    710710 
    711711                        self.sizer4_4.Add(ctl2, (iy, ix), (1, 1), 
     
    19971997        self.on_smear_helper() 
    19981998        self.on_set_focus(None) 
     1999        self.Layout() 
    19992000        self.Refresh() 
    20002001        # update model plot with new data information 
     
    28912892                        text2.Hide() 
    28922893                    ix += 1 
    2893                     ctl2 = wx.TextCtrl(self, wx.ID_ANY, 
    2894                                        size=(_BOX_WIDTH / 1.2, 20), style=0) 
     2894                    ctl2 = BGTextCtrl(self, wx.ID_ANY, 
     2895                                       size=(_BOX_WIDTH / 1.2, 20)) 
    28952896                    sizer.Add(ctl2, (iy, ix), (1, 1), 
    28962897                              wx.EXPAND | wx.ADJUST_MINSIZE, 0) 
Note: See TracChangeset for help on using the changeset viewer.