Changeset 4844 for trunk


Ignore:
Timestamp:
Mar 8, 2021 12:34:29 PM (2 years ago)
Author:
toby
Message:

Le Bail tutorial; pretty up tutorial table

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r4833 r4844  
    33223322            self.list.InsertColumn(i+inc, lbl, width=wid, format=colPosition)
    33233323        for i,item in enumerate(choices):
     3324            if item[0].startswith('   '):
     3325                item[0] = '--- '+item[0].strip()
    33243326            if checkLbl:
    33253327                def OnCheck(event,row=i):
     
    33363338            for j,item in enumerate(item[1:len(colLabels)]):
    33373339                item = wordwrap(StripIndents(item,True), colWidths[j+1], wx.ClientDC(self))
     3340                item += "\n==========================================="
    33383341                self.list.SetStringItem(i,1+j+inc, item)
    33393342        # make buttons
     
    63126315     before beginning Rietveld refinement.'''],
    63136316     
     6317    ['LeBail', 'LeBailSucrose.htm', 'Le Bail Intensity Extraction in GSAS-II - Sucrose',
     6318     '''Shows the process of setting up a Le Bail fit, where reflection
     6319     intensities are treated as arbitrary, and how to converge the Le Bail
     6320     intensities before a combined Le Bail/Least-Squares fit that
     6321     optimizes lattice, peak shape and background parameters.'''],
     6322     
    63146323    ['RietPlot', 'PublicationPlot.htm', 'Create a Publication-Ready Rietveld Plot',
    63156324     '''Shows how to create a customized version of a plot from a fit,
     
    65286537        sizer1.Add(label, 0, wx.ALIGN_CENTRE|wx.ALL, 0)
    65296538        sizer1.Add((-1,-1),1, wx.EXPAND, 0)
    6530         sizer1.Add(hlp,0,wx.ALIGN_RIGHT|wx.ALL)
     6539        sizer1.Add(hlp)
    65316540        sizer.Add(sizer1,0,wx.EXPAND|wx.ALL,0)
    65326541        sizer.Add((10,10))
     
    67006709        '''Select tutorials from a two-column table, when possible
    67016710        '''
    6702         lbls = ('tutorial name','description')
     6711        lbls = ('tutorial name (indent indicates previous is required)','description')
    67036712        colWidths=[400,400]
    67046713        dlg = MultiColumnSelection(self,'select tutorial',lbls,choices,colWidths)
  • trunk/GSASIIpwdGUI.py

    r4842 r4844  
    25112511        G2frame.Bind(wx.EVT_MENU,OnInstCopy,id=G2G.wxID_SASDINSTCOPY)
    25122512    MakeParameterWindow()
    2513        
     2513    G2frame.dataWindow.SendSizeEvent()       
    25142514   
    25152515################################################################################
Note: See TracChangeset for help on using the changeset viewer.