Ignore:
Timestamp:
Jul 4, 2017 11:33:37 PM (4 years ago)
Author:
toby
Message:

Scroll bars work for Phase & Histogram windows; Constraints, Restraints & Rigid Bodies -- not yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branch/2frame/GSASIIdataGUI.py

    r2907 r2908  
    30653065        self.LastGPXdir = None    # directory where a GPX file was last read
    30663066        self.LastExportDir = None  # the last directory used for exports, if any.
     3067        self.dataDisplay = None
    30673068        self.dataDisplayPhaseText = ''
    30683069        self.lastTreeSetting = []
     
    72847285            del G2frame.colSigs[l]
    72857286
    7286     G2frame.dataWindow.ClearData()
    72877287    G2frame.dataWindow.currentGrids = []
    72887288    G2frame.dataDisplay = G2G.GSGrid(parent=G2frame.dataWindow)
    7289     G2frame.dataDisplay.SetSize(G2frame.dataWindow.GetSize())
     7289    G2frame.dataWindow.GetSizer().Add(G2frame.dataDisplay,1,wx.ALL|wx.EXPAND)
    72907290    G2frame.SeqTable = G2G.Table([list(cl) for cl in zip(*G2frame.colList)],     # convert from columns to rows
    72917291        colLabels=colLabels,rowLabels=histNames,types=Types)
     
    76377637                 
    76387638################################################################################
    7639 #####  Pattern tree routines
     7639#####  Data (GPX) tree routines
    76407640################################################################################           
    76417641       
     
    78367836        elif G2frame.GPXtree.GetItemText(item) == 'Phases':
    78377837            G2frame.dataWindow.GetSizer().Add(
    7838                 wx.TextCtrl(G2frame.dataWindow,size=G2frame.dataWindow.GetClientSize(),
    7839                             value='Select one phase to see its parameters')
     7838                wx.StaticText(G2frame.dataWindow,wx.ID_ANY,
     7839                                'Select one phase to see its parameters')
    78407840                )
    78417841    ############################################################################
Note: See TracChangeset for help on using the changeset viewer.