Hello everyone! Can anyone tell me how to control the width and height of a block in a panel plugin in Grafana? I need these dimensions to not change when the screen is scaled, but currently Grafana does the opposite. How can this be fixed?
Panels don’t have control over width or height, there’s currently no way to prevent or set them. This is all managed by the user and Grafana.
As an alternative, in your panel rendering, you can, for example, detect if the width or height is too small and display a message to the user asking them to resize, or if the width or height is too big, then only use a part of it.
Got it, thanks for the response!