Changeset a92d51b in sasview


Ignore:
Timestamp:
Dec 1, 2008 5:10:14 PM (16 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:
917850d
Parents:
b06ef8c
Message:

small changes

Location:
sansview
Files:
1 added
2 edited

Legend:

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

    rb5847bd8 ra92d51b  
    6868        
    6969        self.vbox.Add(self.sizer3) 
    70          
    7170        self.vbox.Add(self.sizer2) 
    7271        self.vbox.Add(self.static_line_1, 0, wx.EXPAND, 0) 
    7372        self.vbox.Add(self.sizer5) 
    74          
    7573        self.vbox.Add(self.sizer4) 
    7674        self.vbox.Add(self.sizer1) 
     
    173171        bs = wx.BoxSizer(wx.VERTICAL) 
    174172        bs.Add(self.scroll, 1, wx.EXPAND) 
    175         
    176173        self.SetSizer(bs) 
    177  
    178174        self.scroll.SetSizer(self.vbox)         
    179          
    180175        self.scroll.SetScrollbars(20,20,55,40) 
    181      
     176        width,height = self.GetSize() 
     177      
    182178        self.Centre() 
    183179        self.Layout() 
     
    611607        self.vbox.Layout() 
    612608        self.GrandParent.GetSizer().Layout() 
     609         
     610         
    613611    def onSmear(self, event): 
    614612        if self.smear.GetValue()==True: 
  • sansview/perspectives/fitting/models.py

    r55e13ab ra92d51b  
    4545                    log("Error accessing Model in %s\n  %s" % (name, sys.exc_value)) 
    4646                finally: 
     47               
    4748                    if not file==None: 
    4849                        file.close() 
Note: See TracChangeset for help on using the changeset viewer.