Ignore:
Timestamp:
Nov 28, 2015 6:52:20 PM (8 years ago)
Author:
butler
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
Message:

Need to use FitInside? in a few places to ensure whole window gets
properly resized. Fixes ticket #488

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/perspectives/fitting/basepage.py

    r6f16e25 r1c2bf90  
    24132413        #draw the model with the current dispersity 
    24142414        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() 
    24192423 
    24202424    def _layout_sizer_noDipers(self): 
Note: See TracChangeset for help on using the changeset viewer.