Ignore:
Timestamp:
May 17, 2011 7:23:12 PM (14 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:
f843099
Parents:
2c63857b
Message:

added setting for startup conf

File:
1 edited

Legend:

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

    r248b918 radf44c2  
    7474        
    7575        ## Default locations 
    76         self._default_save_location = os.getcwd()         
     76        self._default_save_location = os.getcwd()  
     77        self.size = None        
    7778        ## Graph         
    7879        self.graph = Graph() 
     
    144145        self.canvas.set_resizing(self.resizing) 
    145146        self.parent.set_schedule(True) 
    146          
     147        pos_x, pos_y = self.GetPositionTuple() 
     148        if pos_x != 0 and pos_y != 0: 
     149            self.size, _ = self.GetClientSizeTuple() 
    147150         
    148151    def set_resizing(self, resizing=False): 
Note: See TracChangeset for help on using the changeset viewer.