Is it possible to change the statusbar font colour?
statusbar = self.CreateStatusBar()
statusbar.SetBackgroundColour(‘red’)
isnt working and cant find any information here http://wxpython.org/docs/api/wx.StatusBar-class.html
thanks
Is it possible to change the statusbar font colour?
statusbar = self.CreateStatusBar()
statusbar.SetBackgroundColour(‘red’)
isnt working and cant find any information here http://wxpython.org/docs/api/wx.StatusBar-class.html
thanks
Sometimes the native widgets ignore attempts to change their colors, and the statusbar on at least Windows is one of those that does. (BTW, if it worked it would have been the foreground color that changes the color of the font, not the background color.)
People have worked around this in the past by putting a wx.StaticText on the statusbar instead of using the statusbar to display the text.
On 2/20/12 4:41 PM, monoBOT wrote:
Is it possible to change the statusbar font colour?
statusbar = self.CreateStatusBar()
statusbar.SetBackgroundColour('red')
isnt working and cant find any information here
http://wxpython.org/docs/api/wx.StatusBar-class.html
--
Robin Dunn
Software Craftsman
Thanks a lot for the feedback Robin Dunn
(And i noticed just after i sent the mail! XD)