Changeset 2a5bba7 in sasview


Ignore:
Timestamp:
Apr 14, 2009 4:37:24 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:
fff74cb
Parents:
9cb364a
Message:

minor interface change

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    r9cb364a r2a5bba7  
    110110        box_description= wx.StaticBox(self, -1,'Chi2/dof') 
    111111        boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 
    112         boxsizer1.SetMinSize((55,-1)) 
     112        boxsizer1.SetMinSize((60,-1)) 
    113113        self.tcChi    =  wx.StaticText(self, -1, "-", style=wx.ALIGN_LEFT)         
    114114        boxsizer1.Add( self.tcChi )    
     
    139139        sizer_data.Add(wx.StaticText(self, -1, 'Source Name : ')) 
    140140        sizer_data.Add(DataSource ) 
    141         sizer_data.Add( (5,5) ) 
     141        sizer_data.Add( (0,5) ) 
    142142         
    143143        #---------sizer 2 draw-------------------------------- 
     
    152152            sizer_data.Add( text4_3 ) 
    153153            sizer_data.Add(wx.StaticText(self, -1, "Min : %s"%data_min)) 
     154             
    154155            sizer_data.Add(wx.StaticText(self, -1, "Max : %s"%data_max)) 
    155156             
     
    500501                        
    501502        err_image[err_image==0]=1 
    502         
    503503        res=[] 
    504504        if flag== True: 
     
    511511                        value =  math.pow(self.data.x_bins[i],2)+ math.pow(self.data.y_bins[j],2) 
    512512                        if value >= math.pow(self.qmin_x,2) and value <= math.pow(self.qmax_x,2): 
     513                             
    513514                            temp = [self.data.x_bins[i],self.data.y_bins[j]] 
    514515                            error= err_image[j][i] 
     
    516517                            #Vector containing residuals 
    517518                            res.append( math.pow(chisqrji,2) ) 
     519 
    518520                # compute sum of residual 
    519521                sum=0 
     
    768770               
    769771        iy+=1 
    770         sizer.Add((20,20),(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
     772        sizer.Add((10,10),(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
    771773         
    772774        #Display units text on panel 
  • sansview/perspectives/fitting/modelpage.py

    r196deac r2a5bba7  
    421421                 
    422422        iy+=1 
    423         sizer.Add((20,20),(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
     423        sizer.Add((10,10),(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
    424424         
    425425        #Display units text on panel 
Note: See TracChangeset for help on using the changeset viewer.