Changeset 2599 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Dec 21, 2016 5:34:47 PM (6 years ago)
Author:
toby
Message:

add keystroke to set calibration dmin; animate dragging of integration range values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2592 r2599  
    954954                cutOff.SetValue(limits[2])
    955955                calibSkip.SetValue(str(data['calibskip']))
    956                 calibDmin.SetValue(limits[0])
     956                G2frame.calibDmin.SetValue(limits[0])
    957957            else:
    958958                G2frame.dataFrame.ImageEdit.Enable(id=G2gd.wxID_IMRECALIBRATE,enable=False)
     
    989989        comboSizer = wx.BoxSizer(wx.HORIZONTAL)       
    990990        comboSizer.Add(wx.StaticText(parent=G2frame.dataDisplay,label=' Min calib d-spacing '),0,WACV)
    991         calibDmin = G2G.ValidatedTxtCtrl(G2frame.dataDisplay,data,'calibdmin',nDig=(10,2),typeHint=float,min=0.25)
    992         comboSizer.Add(calibDmin,0,WACV)
     991        G2frame.calibDmin = G2G.ValidatedTxtCtrl(G2frame.dataDisplay,data,'calibdmin',nDig=(10,2),typeHint=float,min=0.25)
     992        comboSizer.Add(G2frame.calibDmin,0,WACV)
    993993        calibSizer.Add(comboSizer,0)
    994994       
Note: See TracChangeset for help on using the changeset viewer.