Changeset 2640 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Jan 17, 2017 5:11:27 PM (5 years ago)
Author:
vondreele
Message:

change Width to Size in setSizePosLeft
kluge to get correct scrolling in Phase windows in SetPhaseWinows?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r2638 r2640  
    7575    phasePage.Scroll(0,Scroll)
    7676    Size[1] = min(500,Size[1])
     77    mainFrame.setSizePosLeft(Size)
     78    Size[1] += 1                    #kluge to get correct scrolling!
    7779    mainFrame.setSizePosLeft(Size)
    7880   
     
    30563058                attr.SetEditor(G2G.GridFractionEditor(atomGrid))
    30573059                atomGrid.SetColAttr(c, attr)
     3060            for row,atom in enumerate(Layer['Atoms']):
     3061                atomGrid.SetReadOnly(row,1,True)
    30583062            atomGrid.Bind(wg.EVT_GRID_CELL_LEFT_DCLICK, AtomTypeSelect)
    30593063            atomGrid.AutoSizeColumns(True)
Note: See TracChangeset for help on using the changeset viewer.