Changeset 3101 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Sep 28, 2017 9:16:15 AM (5 years ago)
Author:
vondreele
Message:

change SetScrollRate?(1,1) to SetScrollRate?(10,10) - improves scrolling speed on all windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r3096 r3101  
    878878#    G2frame.dataWindow.Bind(wg.EVT_GRID_CELL_LEFT_DCLICK, onCellListDClick)
    879879    reflGrid.AutoSizeColumns(False)
    880     reflGrid.SetScrollRate(1,1)
     880    reflGrid.SetScrollRate(10,10)
    881881    G2frame.reflGrid = reflGrid
    882882    mainSizer.Add(reflGrid,1,wx.ALL|wx.EXPAND,1)
     
    26082608    G2frame.indxPeaks = G2G.GSGrid(parent=G2frame.dataWindow)               
    26092609    G2frame.indxPeaks.SetTable(G2frame.IndexPeaksTable, True)
    2610     G2frame.indxPeaks.SetScrollRate(1,1)
     2610    G2frame.indxPeaks.SetScrollRate(10,10)
    26112611    XY = []
    26122612    Sigs = []
     
    35703570            G2frame.refTable[phase] = G2G.GSGrid(parent=G2frame.refBook)
    35713571            G2frame.refBook.AddPage(G2frame.refTable[phase],phase)
    3572             G2frame.refTable[phase].SetScrollRate(1,1) # reflection grids (inside tab) need scroll bars
     3572            G2frame.refTable[phase].SetScrollRate(10,10) # reflection grids (inside tab) need scroll bars
    35733573        elif len(data[phase]):              #else dict for PWDR
    35743574            G2frame.refTable[phase] = G2G.GSGrid(parent=G2frame.refBook)
    35753575            G2frame.refBook.AddPage(G2frame.refTable[phase],phase)
    3576             G2frame.refTable[phase].SetScrollRate(1,1) # as above
     3576            G2frame.refTable[phase].SetScrollRate(10,10) # as above
    35773577        else:       #cleanup deleted phase reflection lists
    35783578            del data[phase]
Note: See TracChangeset for help on using the changeset viewer.