Commented the lines where we set the bk colour in statspane/pyfatogglepanel
This commit is contained in:
@@ -37,10 +37,10 @@ class TogglePanel ( wx.Panel ):
|
|||||||
self._toggle = 1
|
self._toggle = 1
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
|
|
||||||
self.bkColour = parent.GetBackgroundColour()
|
# self.bkColour = parent.GetBackgroundColour()
|
||||||
|
|
||||||
# Odd stuff :S
|
# Odd stuff :S
|
||||||
self.SetBackgroundColour( self.bkColour )
|
# self.SetBackgroundColour( self.bkColour )
|
||||||
|
|
||||||
# Create the main sizer of this panel
|
# Create the main sizer of this panel
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ class StatsPane(wx.Panel):
|
|||||||
standardFont.SetPointSize(8)
|
standardFont.SetPointSize(8)
|
||||||
self.SetFont(standardFont)
|
self.SetFont(standardFont)
|
||||||
|
|
||||||
self.SetBackgroundColour(parent.GetBackgroundColour())
|
# self.SetBackgroundColour(parent.GetBackgroundColour())
|
||||||
|
|
||||||
mainSizer = wx.BoxSizer(wx.VERTICAL)
|
mainSizer = wx.BoxSizer(wx.VERTICAL)
|
||||||
self.SetSizer(mainSizer)
|
self.SetSizer(mainSizer)
|
||||||
|
|||||||
Reference in New Issue
Block a user