Ignore:
Timestamp:
Apr 19, 2018 11:24:13 PM (4 years ago)
Author:
toby
Message:

add optional histogram label (shown only as plot title so far); set up for 2-column tutorial selection, but not yet in use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r3350 r3352  
    73257325#        wtSizer.Add(comp,0,WACV)
    73267326    mainSizer.Add(wtSizer)
     7327    wtSizer = wx.BoxSizer(wx.HORIZONTAL)
     7328    wtSizer.Add(wx.StaticText(G2frame.dataWindow,-1,' Histogram label: '),0,WACV)
     7329    if 'histTitle' not in data[0]: data[0]['histTitle'] = ''
     7330    wtval = G2G.ValidatedTxtCtrl(G2frame.dataWindow,data[0],'histTitle',typeHint=str,notBlank=False,
     7331                                 size=(300,-1))
     7332    wtSizer.Add(wtval,1,WACV)
     7333    mainSizer.Add(wtSizer,0,WACV|wx.EXPAND,1)
    73277334    if data[0].get('Dummy',False):
    73287335        simSizer = wx.BoxSizer(wx.HORIZONTAL)
     
    74257432        mSizer.Add(addmag,1,wx.ALIGN_CENTER,1)
    74267433        mainSizer.Add(mSizer)
    7427 
     7434       
    74287435    G2frame.GPXtree.SetItemPyData(item,data)
    74297436    G2frame.PatternId = item
Note: See TracChangeset for help on using the changeset viewer.