Ignore:
Timestamp:
Jun 19, 2011 1:32:56 PM (13 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:
ad9e5e1
Parents:
66718a1
Message:

inspecting resizing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/Plotter1D.py

    r66718a1 r71fa9bb9  
    143143        # Do not remove this Skip. Otherwise it will get runtime error. 
    144144        event.Skip()  
    145           
     145        print "self.x_size,self.GetSize()",self.x_size, self.GetSize() 
    146146        # It was found that wx >= 2.9.3 sends an event even if no size changed. 
    147147        # So manually recode the size (=x_size) and compare here. 
    148148        if self.x_size != None: 
    149149            if self.x_size == self.GetSize(): 
     150                self.resizing = False 
     151                self.canvas.set_resizing(self.resizing) 
     152                print "not resizing" 
    150153                return 
    151154        self.x_size = self.GetSize() 
Note: See TracChangeset for help on using the changeset viewer.