Does anybody know how to set the background color of a panel using Python Eto?
There is no property BackgroundColor for an Eto.Forms.Panel
, but as I understand a panel is ultimately an Eto.Forms.Control
, which does have this property.
Unfortunately this does not work:
panel = Eto.Forms.Panel()
panel.BackgroundColor = Eto.Drawing.Colors.Blue
How would I go about this?