Moved firepower section into a togglepanel, modified pyfatogglepanel to have the added sizer with full gap (wx.ALL) in contentpanel

This commit is contained in:
HomeWorld
2010-09-07 20:53:46 +03:00
parent 76764dd4cc
commit c090c2df11
2 changed files with 24 additions and 17 deletions

View File

@@ -125,7 +125,7 @@ class TogglePanel ( wx.Panel ):
pass
def AddSizer(self, sizer):
self.contentSizer.Add(sizer, 1, wx.EXPAND, 5)
self.contentSizer.Add(sizer, 1, wx.EXPAND | wx.ALL, 5)
self.Layout()
def GetContentPane(self):
return self.contentPanel