Changeset 2530 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Nov 17, 2016 10:14:24 AM (5 years ago)
Author:
vondreele
Message:

finish window placement rules - data display window upper right is always conserved unless user moves it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2528 r2530  
    25222522        if lastSize[0]:
    25232523            Pos[0] += lastSize[0]-Width[0]
    2524         offSet = Pos[0]+Width[0]-clientSize[2]
     2524        offSet = 0
     2525        if Pos[0] < clientSize[2]:
     2526            offSet = Pos[0]+Width[0]-clientSize[2]
    25252527        if offSet > 0:
    25262528            Pos[0] -= offSet
    2527 #        self.SetPosition(wx.Point(clientSize[2]-Width[0],clientSize[1]+250))
    25282529        self.SetPosition(wx.Point(Pos[0],Pos[1]))
    25292530        self.G2frame.lastSize = Width
Note: See TracChangeset for help on using the changeset viewer.