From 8b298a0959a01772de8df8c055c0c3895b16d31f Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Thu, 16 Sep 2010 15:00:32 +0300 Subject: [PATCH] Fix attempt for font size in togglepanel - again --- gui/pyfatogglepanel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/pyfatogglepanel.py b/gui/pyfatogglepanel.py index 76d9a240f..d07ec5ffb 100644 --- a/gui/pyfatogglepanel.py +++ b/gui/pyfatogglepanel.py @@ -51,7 +51,7 @@ class TogglePanel ( wx.Panel ): # Create the header panel self.headerPanel = wx.Panel(self) - + self.headerPanel.InheritAttributes() # self.headerPanel.SetBackgroundColour( self.bkColour) self.mainSizer.Add(self.headerPanel,0,wx.EXPAND | wx.TOP|wx.BOTTOM|wx.RIGHT, 1) @@ -112,6 +112,7 @@ class TogglePanel ( wx.Panel ): self.contentSizer = wx.BoxSizer( wx.VERTICAL ) self.contentPanel = wx.Panel(self) + self.contentPanel.InheritAttributes() self.contentPanel.SetSizer(self.contentSizer) self.mainSizer.Add( self.contentPanel, 0, wx.EXPAND | wx.RIGHT | wx.LEFT , 5)