Question: Does border_radius support percentage values?

Hey :waving_hand:

I was wondering if it’s currently possible to specify percentage values for border_radius (similar to CSS) when styling widgets like Image, Container, etc.

For example, something like:

  • 50% β†’ circle on square elements
  • 50% β†’ ellipse on rectangular elements
  • Proportional rounding that adapts to size

From what I can tell, it seems Radius only supports absolute f32 values right now.

If this feature is not available, would it make sense to move this to Request Feedback as a feature request?

Thanks!

You can use the responsive widget to calculate border radius based on the widget size.