Changeset 7b0fd65 in sasview
- Timestamp:
- Apr 14, 2009 12:19:45 PM (16 years ago)
- 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:
- 6ea1b87
- Parents:
- f6b65b8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
rfb8daaaf r7b0fd65 106 106 sizer_smearer.Add( self.disable_smearer ) 107 107 108 #Display Chi^2/dof 109 sizer_smearer.Add((70,10)) 110 box_description= wx.StaticBox(self, -1,'Chi2/dof') 111 boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 112 boxsizer1.SetMinSize((55,-1)) 113 self.tcChi = wx.StaticText(self, -1, "-", style=wx.ALIGN_LEFT) 114 boxsizer1.Add( self.tcChi ) 115 sizer_smearer.Add( boxsizer1 ) 116 117 #Set sizer for Fitting section 108 118 self._set_range_sizer( title="Fitting", 109 119 object1=sizer_smearer, object= sizer_fit) 110 120 111 121 112 122 def _fill_datainfo_sizer(self): … … 138 148 # Maximum value of data 139 149 data_max = str(format_number(numpy.max(self.data.x))) 140 text4_3 = wx.StaticText(self, -1, 'Total Q Range (1/A)',150 text4_3 = wx.StaticText(self, -1, 'Total Q Range (1/A)', 141 151 style=wx.ALIGN_LEFT) 142 152 sizer_data.Add( text4_3 ) … … 153 163 # Maximum value of data 154 164 data_max = str(format_number(radius_max)) 155 text4_3 = wx.StaticText(self, -1, 'Total Q Range ',165 text4_3 = wx.StaticText(self, -1, 'Total Q Range (1/A)', 156 166 style=wx.ALIGN_LEFT) 157 167 sizer_data.Add( text4_3 ) … … 167 177 self.qmax_x= data_max 168 178 169 179 170 180 def _fill_model_sizer(self, sizer): 171 181 """ … … 173 183 """ 174 184 175 box_description= wx.StaticBox(self, -1,'Chi2/dof')176 boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL)177 boxsizer1.SetMinSize((50,-1))178 self.tcChi = wx.StaticText(self, -1, "-", style=wx.ALIGN_LEFT)179 boxsizer1.Add( self.tcChi )180 181 182 185 ## class base method to add view 2d button 183 self._set_model_sizer(sizer=sizer, title="Model",object= boxsizer1)184 186 self._set_model_sizer(sizer=sizer, title="Model",object=None ) 187 185 188 186 189 def _set_sizer_gaussian(self):
Note: See TracChangeset
for help on using the changeset viewer.