I have a Ti.UI.View which requires its width to be set to a percentage. Now I want the borderRadius of this view to be 50% of it's width so the view shows as a circle. But borderRadius does not support percentages.
I'm not sure if the borderRadius on each 2 sides of a corner could differ, but if it can't I understand this would make it difficult to support percentages.
But even in that case you could first look if either width or height is not set or set to Ti.UI.SIZE and then use the other and if both are (not) set default to the width e.g.
An example that uses a transparent square image to try to make a circle that should be 50% of the width of the window: