Changeset 2642 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Jan 18, 2017 9:34:12 AM (5 years ago)
Author:
vondreele
Message:

move SetSize? kluge to setSizePosLeft - fixed all the scroll window problems (including the background one)
Change Periodic Table dialog to appear "centre" on GSAS-II main window - no longer too far to the right

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2640 r2642  
    25642564#        print 'current position/width:',Pos,Width
    25652565        self.SetSize(Size)
    2566         if self.lastSize[0]:
    2567             Pos[0] += self.lastSize[0]-Size[0]
     2566        Size[1] += 1        #kluge to ensure scrollbar settings & window properly displayed
     2567        self.SetSize(Size)
     2568        Pos[0] += self.lastSize[0]-Size[0]
    25682569        offSet = 0
    25692570        if Pos[0] < clientSize[2]:
Note: See TracChangeset for help on using the changeset viewer.