Change the colour of a StaticText, wxPython

后端 未结 3 391
一整个雨季
一整个雨季 2021-01-07 17:59

I need to make a StaticText red, what should I use?

3条回答
  •  無奈伤痛
    2021-01-07 18:55

    Depending on which color you would need to set, look into SetForegroundColour() or SetBackgroundColour() method.

提交回复
热议问题