Open sergioro9 opened 1 year ago
There is already a solution to this problem. Check out the Area Based Custom Controls example: https://github.com/AndyObtiva/glimmer-dsl-libui/blob/master/docs/examples/GLIMMER-DSL-LIBUI-ADVANCED-EXAMPLES.md#area-based-custom-controls
Button is a native control that takes the background color of the operating system. It does not currently support changing its background or foreground color.
However, you can paint your own button on top of the area control as per the example provided above.
It seems changing the colors of a :button is not currently supported. Will such feature be added in future releases❔