Changeset 2198 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Apr 7, 2016 9:28:08 AM (7 years ago)
Author:
vondreele
Message:

selected PWDR plot width is retained after Refine, but not if some other plot is selected. Then it reverts to full width
fix problem of PlotCovariance? changing the status bar field widths; had to force the width after a SetFields?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2197 r2198  
    34653465    title = ' for\n'+Data['title']
    34663466    newAtomDict = Data.get('newAtomDict',{})
    3467     G2frame.G2plotNB.Delete('Covariance')
     3467#    G2frame.G2plotNB.Delete('Covariance')
    34683468    G2frame.G2plotNB.status.DestroyChildren()
    34693469   
     
    35033503                Page.canvas.SetToolTipString(msg)
    35043504                G2frame.G2plotNB.status.SetFields(['',msg])
     3505                #for some reason this needs to be here - otherwise in later wx's width gets changed
     3506                G2frame.G2plotNB.status.SetStatusWidths([150,-1])   
    35053507               
    35063508    try:
Note: See TracChangeset for help on using the changeset viewer.