Changeset 4146


Ignore:
Timestamp:
Sep 13, 2019 2:54:35 PM (4 years ago)
Author:
vondreele
Message:

clean up Unit Cells List GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r4142 r4146  
    43014301    littleSizer.Add(wx.StaticText(parent=G2frame.dataWindow,label=' Cell Test && Refinement: '),0,WACV)
    43024302    littleSizer.Add((5,5),0)
    4303     if 'X' in Inst['Type'][0]:
    4304         hklShow = wx.Button(G2frame.dataWindow,label="Show hkl positions")
    4305         hklShow.Bind(wx.EVT_BUTTON,OnHklShow)
    4306         littleSizer.Add(hklShow,0,WACV)   
     4303    hklShow = wx.Button(G2frame.dataWindow,label="Show hkl positions")
     4304    hklShow.Bind(wx.EVT_BUTTON,OnHklShow)
     4305    littleSizer.Add(hklShow,0,WACV)   
     4306    littleSizer.Add(wx.StaticText(G2frame.dataWindow,label=' cell step ',style=wx.ALIGN_RIGHT),0,WACV|wx.ALIGN_RIGHT)
     4307    shiftChoices = [ '0.01%','0.05%','0.1%','0.5%', '1.0%','2.5%','5.0%']
     4308    shiftSel = wx.Choice(G2frame.dataWindow,choices=shiftChoices)
     4309    shiftSel.SetSelection(3)
     4310    littleSizer.Add(shiftSel)
    43074311    mainSizer.Add(littleSizer,0)
    43084312   
     
    43744378            showSpins.Bind(wx.EVT_BUTTON,OnShowSpins)
    43754379            neutSizer.Add(showSpins,0,WACV)
    4376         hklShow = wx.Button(G2frame.dataWindow,label="Show hkl positions")
    4377         hklShow.Bind(wx.EVT_BUTTON,OnHklShow)
    4378         neutSizer.Add(hklShow,0,WACV)
    43794380        mainSizer.Add(neutSizer,0)
    43804381        mainSizer.Add((5,5),0)
     
    44074408            volVal.SetBackgroundColour(VERY_LIGHT_GREY)
    44084409            littleSizer.Add(volVal,0,WACV)
    4409     littleSizer.Add(wx.StaticText(G2frame.dataWindow,label='cell step',style=wx.ALIGN_RIGHT),0,WACV|wx.ALIGN_RIGHT)
    4410     shiftChoices = [ '0.01%','0.05%','0.1%','0.5%', '1.0%','2.5%','5.0%']
    4411     shiftSel = wx.Choice(G2frame.dataWindow,choices=shiftChoices)
    4412     shiftSel.SetSelection(3)
    4413     littleSizer.Add(shiftSel)
    44144410       
    44154411    mainSizer.Add(littleSizer,0)
Note: See TracChangeset for help on using the changeset viewer.