I’d like to achieve what seems like a simple task, border radius of 100%.
The button i’m using is a Button.CreateSimpleButton(“button”, “+”);
It needs to have a circle shape but the property .cornerRadius accepts only numbers, while i have to put “100%”.
I tried to add the ellipse to the background of button but it’s throws error saying that “Type Ellipse is not assignable to type string”
At first i was using an ellipse, but i had to switch to a button cause i need to add some text inside and couldn’t find a way to add it to the ellipse shape.
Could you help me with that, then?
These are the cases: