Size fix when replacing an existing page
This commit is contained in:
@@ -107,7 +107,8 @@ class PFNotebook(wx.Panel):
|
||||
|
||||
oldPage.Destroy()
|
||||
page.Reparent(self.pageContainer)
|
||||
page.Layout()
|
||||
wsize = self.pageContainer.GetSize()
|
||||
page.SetSize(wsize)
|
||||
page.Show()
|
||||
|
||||
def ReplaceActivePage(self, page):
|
||||
|
||||
Reference in New Issue
Block a user