WildernessLabs / Meadow_Issues

Public repo for bugs and issues with Meadow
15 stars 0 forks source link

Button Options - MicroLayout #369

Open AlexHedley opened 1 year ago

AlexHedley commented 1 year ago

Is your feature request related to a problem? Please describe.

Button shape. Button transparency.

Describe the solution you'd like

I haven't checked what is possible but if you could have an image button or change the shape of the button, for example a Circle, this would be useful. There was also a mention of transparency.

Describe alternatives you've considered

Layer a button over an image

Additional context

Discussed on Twitch stream: Working with MicroLayout to build HMI screens with WinForms

adrianstevens commented 1 year ago

And for viz - we added a Blend Color extension which could be used to simulate transparency

https://github.com/WildernessLabs/Meadow.Foundation/blob/develop/Source/Meadow.Foundation.Core/Extensions/ColorExtensions.cs#L31