- Timestamp:
- Mar 29, 2010 8:39:13 AM (15 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:
- ba69349
- Parents:
- e5d76ce
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r18e6c5e rd493f66 193 193 194 194 195 sizer_fit.Add((5,5),1, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5) 196 sizer_fit.Add(self.btFit,0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 63) 197 sizer_fit.Layout() 195 198 196 self.sizer_set_smearer = wx.BoxSizer(wx.VERTICAL) 199 197 sizer_smearer = wx.BoxSizer(wx.HORIZONTAL) … … 306 304 sizer_chi2.Add((-1,5)) 307 305 self.sizer_set_masking.Add((305,-1)) 308 self.sizer_set_masking.Add(boxsizer1,0, wx.RIGHT, 10)306 #self.sizer_set_masking.Add(boxsizer1,0, wx.RIGHT, 10) 309 307 sizer_chi2.Add(self.sizer_set_masking ) 310 308 309 sizer_fit.Add(boxsizer1,0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 63) 310 #sizer_fit.Add((-1,1),0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 1) 311 sizer_fit.Add(self.btFit,0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 63) 312 sizer_fit.Layout() 311 313 #sizer_smearer_box.Add(sizer_chi2) 312 314 # hide all smear messages and textctrl … … 1097 1099 else: 1098 1100 self.smearer = smear_selection( self.data ) 1101 self.disable_smearer.SetValue(True) 1099 1102 if self.smearer == None: 1100 1103 self.enable_smearer.Disable() … … 1108 1111 self.pinhole_smearer.Disable() 1109 1112 self.slit_smearer.Disable() 1113 1110 1114 1111 1115 self.formfactorbox.Enable() … … 1350 1354 else: 1351 1355 is_new_pinhole = self._is_changed_pinhole() 1356 else: 1357 is_new_pinhole = self._is_changed_pinhole() 1352 1358 # if any value is changed 1353 1359 if is_new_pinhole: … … 1487 1493 else: 1488 1494 is_new_slit = self._is_changed_slit() 1495 else: 1496 is_new_slit = self._is_changed_slit() 1489 1497 1490 1498 # if any value is changed
Note: See TracChangeset
for help on using the changeset viewer.