Changeset c5272d1 in sasview


Ignore:
Timestamp:
Oct 15, 2011 11:04:24 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:
1f2560b
Parents:
7bce31d
Message:

temp commit for mac plot test

File:
1 edited

Legend:

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

    rfd51a7c rc5272d1  
    178178                return 
    179179        self.x_size = self.GetSize() 
    180  
     180        print "x", self.x_size 
    181181        # Ready for another event 
    182182        # Do not remove this Skip. Otherwise it will get runtime error on wx>=2.9. 
     
    188188        pos_x, pos_y = self.GetPositionTuple() 
    189189        if pos_x != 0 and pos_y != 0: 
    190             self.size, _ = self.GetClientSizeTuple() 
    191          
     190            self.size, y_size = self.GetClientSizeTuple() 
     191            x_size = self.size 
     192        else: 
     193            x_size, y_size = self.GetClientSizeTuple() 
     194        print "client", self.size,y_size 
     195        self.SetSize(self.x_size) 
    192196    def set_resizing(self, resizing=False): 
    193197        """ 
Note: See TracChangeset for help on using the changeset viewer.