Ignore:
Timestamp:
Jul 12, 2013 5:21:55 AM (9 years ago)
Author:
vondreele
Message:

remove stray hyperlinks from gsasII.html
rework phase window resizing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIddataGUI.py

    r927 r988  
    988988
    989989    DData.SetSizer(mainSizer,True)
    990     if G2frame.dataFrame.PhaseUserSize is None:
    991         Size = mainSizer.GetMinSize()
    992         Size[0] += 40
    993         Size[1] = max(Size[1],290) + 35
    994         DData.SetSize(Size)
    995         DData.SetScrollbars(10,10,Size[0]/10-4,Size[1]/10-1)
    996         Size[1] = min(Size[1],450)
    997         G2frame.dataFrame.setSizePosLeft(Size)
    998     else:
    999         Size = G2frame.dataFrame.PhaseUserSize
    1000         DData.SetSize(G2frame.dataFrame.GetClientSize())
    1001         DData.SetScrollbars(10,10,Size[0]/10-4,Size[1]/10-1)
    1002         G2frame.dataFrame.Update()
     990    Size = mainSizer.GetMinSize()
     991    Size[0] += 40
     992    Size[1] = max(Size[1],290) + 35
     993    DData.SetSize(Size)
     994    DData.SetScrollbars(10,10,Size[0]/10-4,Size[1]/10-1)
     995    Size[1] = min(Size[1],450)
     996    G2frame.dataFrame.setSizePosLeft(Size)
Note: See TracChangeset for help on using the changeset viewer.