Changeset 2953


Ignore:
Timestamp:
Jul 31, 2017 1:34:28 PM (4 years ago)
Author:
toby
Message:

two scroll fixes: controls had .SetupScrolling?; reflection list needed grid scrollbar

Location:
branch/2frame
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branch/2frame/GSASIIdataGUI.py

    r2949 r2953  
    60796079        G2frame.GetStatusBar().SetStatusText('',1)
    60806080    G2frame.dataWindow.ClearData()
    6081     G2frame.dataWindow.SetupScrolling()
     6081    #G2frame.dataWindow.SetupScrolling()
    60826082    #G2frame.SetLabel(G2frame.GetLabel().split('||')[0]+' || '+'Controls')
    60836083    G2frame.SetTitle('Controls')
  • branch/2frame/GSASIIpwdGUI.py

    r2950 r2953  
    35893589            G2frame.refTable[phase] = G2G.GSGrid(parent=G2frame.refBook)
    35903590            G2frame.refBook.AddPage(G2frame.refTable[phase],phase)
     3591            G2frame.refTable[phase].SetScrollRate(1,1) # reflection grids (inside tab) need scroll bars
    35913592        elif len(data[phase]):              #else dict for PWDR
    35923593            G2frame.refTable[phase] = G2G.GSGrid(parent=G2frame.refBook)
    35933594            G2frame.refBook.AddPage(G2frame.refTable[phase],phase)
     3595            G2frame.refTable[phase].SetScrollRate(1,1) # as above
    35943596        else:       #cleanup deleted phase reflection lists
    35953597            del data[phase]
Note: See TracChangeset for help on using the changeset viewer.