Hello guys,
I’m trying to set a new Lovelace view to use as a panel. My goal is to have one background image and a bunch of elements to control my Home Cinema entities.
The problem is: I’m using a large image 16:9 ratio, and the height is not dynamically adjusted, only the width.
Like this:
There’s a scroll bar here.
Is it possible to set the image to resize itself dynamically, depending not only on the width but the height? For instance, set the height and if the width is larger than the screen resolution, center the image and crop the rest of it.
Cheers!