Ignore:
Timestamp:
Jul 2, 2017 9:33:22 AM (5 years ago)
Author:
vondreele
Message:

fixes to window resize issues

File:
1 edited

Legend:

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

    r2890 r2893  
    10821082        else: # called directly, get current page
    10831083            page = G2frame.constr.GetSelection()
     1084        G2frame.constr.SetSize(G2frame.dataWindow.GetClientSize())    #TODO -almost right
    10841085        G2frame.constr.ChangeSelection(page)
    10851086        text = G2frame.constr.GetPageText(page)
     
    13161317        else:
    13171318            page = G2frame.rbBook.GetSelection()
     1319        G2frame.rbBook.SetSize(G2frame.dataWindow.GetClientSize())    #TODO -almost right
    13181320        G2frame.rbBook.ChangeSelection(page)
    13191321        text = G2frame.rbBook.GetPageText(page)
     
    20862088    SetStatusLine('')
    20872089    G2frame.dataWindow.ClearData()
    2088     G2frame.rbBook = G2G.GSNoteBook(parent=G2frame.dataFrame,size=G2frame.dataFrame.GetClientSize())
     2090    G2frame.rbBook = G2G.GSNoteBook(parent=G2frame.dataFrame,size=G2frame.dataWindow.GetClientSize())
    20892091
    20902092    VectorRB = wx.ScrolledWindow(G2frame.rbBook)
Note: See TracChangeset for help on using the changeset viewer.