Ignore:
Timestamp:
Jul 1, 2017 11:17:10 AM (6 years ago)
Author:
vondreele
Message:

Constraints now displayed
fix TopLevel? references
fix display issues for Sample Parameters
fix Resttraints display issues

File:
1 edited

Legend:

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

    r2888 r2890  
    25632563        self.mainPanel = GSASIIsplit(self,-1)
    25642564        self.treePanel = wx.Panel(self.mainPanel, wx.ID_ANY,
    2565                 style = wx.TAB_TRAVERSAL|wx.SUNKEN_BORDER)
     2565            style = wx.TAB_TRAVERSAL|wx.SUNKEN_BORDER)
    25662566        self.treePanel.SetAutoLayout(True)
    25672567        self.dataPanel = wx.Panel(self.mainPanel, wx.ID_ANY,
    2568                 style = wx.TAB_TRAVERSAL|wx.SUNKEN_BORDER)
    2569         self.dataPanel.SetAutoLayout(True)
     2568            style = wx.TAB_TRAVERSAL|wx.SUNKEN_BORDER)
    25702569        self.dataWindow = G2gd.DataWindow(self.dataPanel)
    2571         self.dataWindow.SetupScrolling()
     2570        self.dataWindow.SetAutoLayout(True)
     2571        self.dataWindow.SetInitialSize()
    25722572        self.mainPanel.SetMinimumPaneSize(100)
    25732573        self.mainPanel.SplitVertically(self.treePanel, self.dataPanel, 200)
     
    27112711        'Called to make PatternTree fill mainPanel'
    27122712        w,h = self.GetClientSizeTuple()
     2713        self.dataWindow.SetupScrolling()
     2714        self.mainPanel.SetSize(wx.Size(w,h+1))
    27132715        self.mainPanel.SetSize(wx.Size(w,h))
    27142716        self.PatternTree.SetSize(wx.Size(w,h))
     2717        self.dataWindow.SetSize(wx.Size(w,h))
     2718#        self.dataWindow.Refresh()
     2719#        self.dataWindow.Update()
    27152720       
    27162721    def SetDataSize(self):
    27172722        Size = self.GetSize()
     2723        Size[1] += 1        #kluge to ensure scrollbar settings & window properly displayed
    27182724        self.SetSize(Size)
    2719         Size[1] += 1        #kluge to ensure scrollbar settings & window properly displayed
     2725        Size[1] -= 1        #kluge to ensure scrollbar settings & window properly displayed
    27202726        self.SetSize(Size)
    27212727                               
Note: See TracChangeset for help on using the changeset viewer.