I want to maximise the usable screen width of the mainPanel
for an Rstudio shiny webpage.
In my webpage, the sidePanel
is used to select p
Perhaps you could work with a toggle-button (e.g. named "set parameters") which opens or closes a conditionalPanel
. Such panel then disappears or pops-up when needed.
See: https://shiny.rstudio.com/reference/shiny/0.13.2/conditionalPanel.html
Only a partial solution but ... if you wrap the div below around the content or your sidebarPanel
div(id = "demo", class = "collapse in",
)
and then put a button in your main panel as follows
HTML("<button type='button' class='btn btn-danger' data-toggle='collapse' data-target='#demo'>simple collapsible</button>"),
you can collapse the content of the sidebarPanel. This doesn't expand the main panel to take up all the screen however.