Create a page with a fixed layout
Functions for creating fixed page layouts. A fixed page layout consists of rows which in turn include columns. Rows exist for the purpose of making sure their elements appear on the same line (if the browser has adequate width). Columns exist for the purpose of defining how much horizontal space within a 12-unit wide grid it's elements should occupy. Fixed pages limit their width to 940 pixels on a typical display, and 724px or 1170px on smaller and larger displays respectively.
fixedPage(..., title = NULL, responsive = TRUE, theme = NULL)
- Elements to include within the container
- The browser window title (defaults to the host URL of the page)
TRUEto use responsive layout (automatically adapt and resize page elements based on the size of the viewing device)
- Alternative Bootstrap stylesheet (normally a
css file within the www directory). For example, to use
the theme located at
www/bootstrap.cssyou would use
theme = "bootstrap.css".
To create a fixed page use the
fixedPage function and include
column within it. Note that
fluidPage, fixed pages cannot make use of higher-level
layout functions like
sidebarLayout, rather, all layout must be done
- A UI defintion that can be passed to the shinyUI function.
shinyUI(fixedPage( title = "Hello, Shiny!", fixedRow( column(width = 4, "4" ), column(width = 3, offset = 2, "3 offset 2" ) ) ))