Skip to main content

I’m experiencing unexpected behaviour with the new image widget in Horizon dashboards. If I select the ‘Fit to the box’ option then no matter how I scale the box on the dashboard layout I will always have horizontal and vertical scrollbars around the box.

I would have expected when using the fit to box option that the image would be scaled so that the scrollbars aren’t needed. The scrollbars are very visually jarring, so I want to be able to use to fit to the box option to ensure they aren’t shown on the dashboard regardless of the screen size you’re viewing it on.

Is the current behaviour expected, or am I doing something wrong here?

 

Hi @iainr 

Thanks for your post!

In the builder experience we do have a couple of pixel of extra margin which is why you see the scrollbars. When you actually see the dashboard, these should vanish. Let me know if this is not the case!


Hi @iainr 

Thanks for your post!

In the builder experience we do have a couple of pixel of extra margin which is why you see the scrollbars. When you actually see the dashboard, these should vanish. Let me know if this is not the case!

It isn’t the case unfortunately, at least when I go to the preview screen I still see the scrollbars


Hi @iainr, were you able to fix this problem? I have the same thing happening with the scollbars when I go to the preview screen.


@rakesh  I tested and the scrollbars are there sometime and other time not in the “Dashboard” section even when I select the “Fit to the box” option.


Hi @iainr, were you able to fix this problem? I have the same thing happening with the scollbars when I go to the preview screen.

I wasn’t, though I’ve not had the chance to publish the dashboard yet and see if they are still there in the live view, but certainly I wasn’t yet able to get rid of the scrollbars in the preview :confused:


@iainr I just talked with their support team and they told me it’s an ongoing issue. Will wait for the product team to update us! 


I wanted to update that we are working on improving this experience


Reply