Shiny Display issues

Hello evryone,

i have some issues with the display of the shiny app on browser.
When the screen is 16/9 its all good, but when it's a 4/3 screen, the plots lays out under other ones or the screen show them very slall.

I dont know how to manage this.

Thank you

Hi @Tzarist. It is hard to provide any help only on an image. Can you share codes of your app to spot where the problem was?

1 Like

My code does 4000 lignes ^^, thats why i do not post it

There are a few things you can do (although it is hard to say without the code...):

  1. I'd recommend to use fluidPage, fluidRow and column as much as you can to organize the elements automatically under resize. So your three columns will be displayed one under another and be more visible.

  2. Use options = list(autoWidth = FALSE) in the renderDataTable to keep it inside the box. It sounds wrong, but that's the way you can prevent the datatable to keep the width fixed in pixels.

  3. I can't see if you are using plotly, but I would recommend it for resizing purposes. There are a tons of discussions on the options and I'd be glad to help with specific problems on the plot.

We don't need to see your entire code, we only need a reproducible example (reprex) illustrating your issue. Please have a look at this guide, to see how to create one for a shiny app

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.