Size of shape in percent?

In some way, is it possible to set the size of a shape in percent rather than pixels, for instance a rectangle to stretch the entire screen width regardless of screen size? Or do I just set the width to overly wide?

Thanks.

Hi @Williams ,

Yes, you can set the size of a Shape element based on the screen size, just set the size as formula.

Here are a few examples.

  • 50% of screen width: $0.5*si(rwidth)$
  • 75% of screen height: $0.75*si(rheight)$

I hope this would help.

:smiling_face::+1:

@Baju_Santiko

Many thanks that’s exactly what I wanted! It actually works perfectly :folded_hands:t2: