Small tweak for tab content window size

This commit is contained in:
HomeWorld
2010-11-17 23:27:07 +02:00
parent 6fc71d7a96
commit b6e3ee11f2

View File

@@ -91,7 +91,7 @@ class PFNotebook(wx.Panel):
self.pageContainer.SetBackgroundColour(wx.SystemSettings_GetColour(wx.SYS_COLOUR_WINDOW))
contentSizer.Add( self.pageContainer, 1, wx.EXPAND, 5 )
mainSizer.Add( contentSizer, 1, wx.EXPAND, 5 )
mainSizer.Add( contentSizer, 1, wx.EXPAND | wx.BOTTOM, 2 )
self.SetSizer( mainSizer )
self.Bind(wx.EVT_SIZE, self.OnSize)