Ignore:
Timestamp:
Oct 15, 2011 9:30:34 AM (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:
ab638a3
Parents:
c5272d1
Message:

test commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter1D.py

    rc5272d1 r1f2560b  
    178178                return 
    179179        self.x_size = self.GetSize() 
    180         print "x", self.x_size 
     180        print "x", self.x_size, self.resizing 
    181181        # Ready for another event 
    182182        # Do not remove this Skip. Otherwise it will get runtime error on wx>=2.9. 
     
    187187        self.parent.set_schedule(True) 
    188188        pos_x, pos_y = self.GetPositionTuple() 
     189        client_size = self.GetClientSize() 
    189190        if pos_x != 0 and pos_y != 0: 
    190191            self.size, y_size = self.GetClientSizeTuple() 
     
    192193        else: 
    193194            x_size, y_size = self.GetClientSizeTuple() 
    194         print "client", self.size,y_size 
    195         self.SetSize(self.x_size) 
     195        print "client", self.size,y_size, self.GetClientSize() 
     196        self.canvas.SetSize(client_size) 
    196197    def set_resizing(self, resizing=False): 
    197198        """ 
Note: See TracChangeset for help on using the changeset viewer.