- Timestamp:
- Nov 28, 2015 6:52:20 PM (9 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:
- 792e6be, 66f21cd
- Parents:
- abcbe09
- Location:
- src/sas/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/fitting/basepage.py
r6f16e25 r1c2bf90 2413 2413 #draw the model with the current dispersity 2414 2414 self._draw_model() 2415 self.sizer4_4.Layout() 2416 self.sizer5.Layout() 2417 self.Layout() 2418 self.Refresh() 2415 ## Need to use FitInside again here to replace the next four lines. 2416 ## Otherwised polydispersity off does not resize the scrollwindow. 2417 ## PDB Nov 28, 2015 2418 self.FitInside() 2419 # self.sizer4_4.Layout() 2420 # self.sizer5.Layout() 2421 # self.Layout() 2422 # self.Refresh() 2419 2423 2420 2424 def _layout_sizer_noDipers(self): -
src/sas/perspectives/fitting/fitpage.py
r6f16e25 r1c2bf90 2264 2264 2265 2265 self.sizer_set_smearer.Layout() 2266 self.Layout() 2266 ## we need FitInside here not just self.Layout to ensure all the sizers 2267 ## end up with the necessasary space to in the scroll panel. In 2268 ## particular the compute and fit buttons end up on top of each other 2269 ## PDB Nov 28 2015. 2270 self.FitInside() 2267 2271 2268 2272 if event != None: … … 2438 2442 self._show_smear_sizer() 2439 2443 self.sizer_set_smearer.Layout() 2440 self.Layout() 2444 ## we need FitInside here not just self.Layout to ensure all the sizers 2445 ## end up with the necessasary space to in the scroll panel. In 2446 ## particular the compute and fit buttons end up on top of each other 2447 ## PDB Nov 28 2015. 2448 self.FitInside() 2441 2449 2442 2450 if event != None: … … 2568 2576 """ 2569 2577 Create a smear object that will change the way residuals 2570 are compute when fitting2578 are computed when fitting 2571 2579 """ 2572 2580 if event != None: … … 2583 2591 2584 2592 self.sizer_set_smearer.Layout() 2585 self.Layout() 2593 ## we need FitInside here not just self.Layout to ensure all the sizers 2594 ## end up with the necessasary space to in the scroll panel. In 2595 ## particular the compute and fit buttons end up on top of each other 2596 ## PDB Nov 28 2015. 2597 self.FitInside() 2586 2598 self._set_weight() 2587 2599
Note: See TracChangeset
for help on using the changeset viewer.