Changeset 2624


Ignore:
Timestamp:
Jan 11, 2017 4:17:40 PM (5 years ago)
Author:
vondreele
Message:

fix a lastSize issue & initial Data window position problem

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2622 r2624  
    25102510        self.AtomGrid = []
    25112511        self.selectedRow = 0
    2512         self.lastSize = [0,0]       
     2512        self.lastSize = Size       
    25132513        self.manualPhaseSize = None
    25142514        self.userReSize = False
     
    25292529                return
    25302530            self.manualPhaseSize = event.EventObject.GetSize()
    2531             self.lastSize = self.manualPhaseSize
     2531            self.lastSize = event.EventObject.GetSize()
    25322532#            if GSASIIpath.GetConfigValue('debug'):
    25332533#                print 'Saving Phase size=',self.manualPhaseSize
  • trunk/GSASIIphsGUI.py

    r2623 r2624  
    7373    Size[1] = min(Size[1]+ 150,500)
    7474    phasePage.SetScrollbars(10,10,Size[0]/10-4,Size[1]/10-1)
    75     phasePage.SetSize(Size)
    7675    phasePage.Scroll(0,Scroll)
    7776    Size[1] = min(500,Size[1])
Note: See TracChangeset for help on using the changeset viewer.