Incompatibility between setting a color and Corner Radius in the designer

tetrode

Member
Licensed User
Longtime User
Hi All

I have the following setup:

I have an activity where I have a couple of buttons set up. As I cannot select the color I want there, I set the color of the button in Activity_Create, as follows:

btnContactUs.Color = Colors.ARGB(128, 85, 103, 129)

In the designer, I have selected the corner radius of this button to be 10 instead of (the default) 5.

When I run the app, the corner radius appears to be 5 (or 0).

Is this a bug?

Is there a way to set the corner radius from the app?

Thanks for your feedback

Mark Tetrode
 

tetrode

Member
Licensed User
Longtime User
Hi Erel

Thanks for your answer. So how do I set a custom color from the designer? I have the impression I can only set the color of the buttons from a list of colors starting from ActiveBorder and ending with YellowGreen; I'm not able to set an RGB color.

What is the trick to enter any color I want there?

Thanks

Mark
 
Top