Ignore:
Timestamp:
Jan 13, 2021 9:42:03 PM (11 months ago)
Author:
toby
Message:

HessianLSQ: force vars to float; small wx 4.1 fixes; scriptable: more docs, TOF peak widths (from Adam)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIddataGUI.py

    r4672 r4764  
    370370        muMean = G2spc.MuShklMean(SGData,Amat,UseList[G2frame.hist]['Mustrain'][4][:numb])
    371371        parms = zip(Snames,UseList[G2frame.hist]['Mustrain'][5],range(numb))
     372        mainSizer = wx.BoxSizer(wx.VERTICAL)
    372373        dataSizer = wx.FlexGridSizer(0,6,5,5)
    373374        for Pa,ref,Id in parms:
     
    381382                Id,nDig=(10,2),OnLeave=OnNewValueReDraw)
    382383            dataSizer.Add(strainVal,0,WACV)
    383         dataSizer.Add(wx.StaticText(DData,label=' Mean mustrain %.1f'%muMean),0,WACV)
    384         return dataSizer
     384        mainSizer.Add(dataSizer)
     385        mainSizer.Add(wx.StaticText(DData,label=' Mean mustrain %.1f'%muMean)
     386                          ,0,wx.ALIGN_CENTER_HORIZONTAL)
     387        return mainSizer
    385388
    386389    def HstrainSizer():
     
    954957                genSizer.Add(ResetSizer('generalized',OnResetStrain),0,WACV)
    955958                bottomSizer.Add(genSizer)
    956                 bottomSizer.Add(GenStrainDataSizer(),0,WACV|wx.BOTTOM,5)
     959                bottomSizer.Add(GenStrainDataSizer(),0,wx.BOTTOM,5)
    957960           
    958961            bottomSizer.Add(wx.StaticText(DData,wx.ID_ANY,' Hydrostatic/elastic strain:'))
Note: See TracChangeset for help on using the changeset viewer.