Changeset 4672 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Dec 14, 2020 12:58:19 PM (2 years ago)
Author:
vondreele
Message:

remove all wx.ALIGN from wx Add with wx.EXPAND - invalid combination ignored in older wx; now flagged in current wx 4.1.x
make ax as self.ax in Absorb.py - fix matplotlib warning about reusing a subaxis
put floors on pink beam alp & bet. Fix typo in GetPinkAlpBet? function - now works better.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4669 r4672  
    20312031                isoSel.Bind(wx.EVT_COMBOBOX,OnIsotope)
    20322032                Indx[isoSel.GetId()] = elem
    2033                 elemSizer.Add(isoSel,1,WACV|wx.EXPAND)
     2033                elemSizer.Add(isoSel,1,wx.EXPAND)
    20342034            elemSizer.Add(wx.StaticText(General,label=' No. per cell'),0,WACV)
    20352035            for elem in generalData['AtomTypes']:
     
    22282228                btnsizer.AddButton(btn)
    22292229                btnsizer.Realize()
    2230                 sizer.Add(btnsizer, 0, wx.ALIGN_CENTER_VERTICAL|wx.EXPAND|wx.ALL, 5)
     2230                sizer.Add(btnsizer, 0, wx.EXPAND|wx.ALL, 5)
    22312231                dlg.SetSizer(sizer)
    22322232                sizer.Fit(dlg)
     
    51645164            topSizer.Add(wx.StaticText(G2frame.FRMC,label=' RMCProfile setup:'),0,WACV)
    51655165            # add help button to bring up help web page - at right sede of window
    5166             topSizer.Add((-1,-1),1,WACV|wx.EXPAND)
     5166            topSizer.Add((-1,-1),1,wx.EXPAND)
    51675167            topSizer.Add(G2G.HelpButton(G2frame.FRMC,helpIndex=G2frame.dataWindow.helpKey))
    5168             mainSizer.Add(topSizer,0,WACV|wx.EXPAND)
     5168            mainSizer.Add(topSizer,0,wx.EXPAND)
    51695169#            mainSizer.Add(wx.StaticText(G2frame.FRMC,label=' RMCProfile setup:'))
    51705170            if not data['RMC']['RMCProfile']:
Note: See TracChangeset for help on using the changeset viewer.