Dynamic dimensions based on a different axis

Hi there,

I’m trying to define an element height as a proportion of its width.

      Image: {
        type: Image,
        w: (w) => w,
        h: (h, w) => w * ASPECT_RATIO

Does anyone know how to accomplish that, even using different mechanisms like events and so on?

Check out ResizeMode:

Or maybe Flex

Try to use flex sparingly for performance reasons.