Flowlayout rows and columns
P("conditionalPanel() can be used to show panels if a condition is true. WellPanel(p("wellPanel() creates a gray box to contain one or more objects."), P("Multiple objects can be given to verticalLayout(), which will left-align them in a single column."), P("Multiple objects can be given to splitLayout(), which divides the window into columns of equal width."),
If the window is too narrow, the sidebarPanel() will be above the mainPanel() instead of next to it."), Their default widths are 4 (1/3 of the window width) and 8 (2/3 of the window width), respectively. P("sidebarLayout() contains two panels: sidebarPanel() and mainPanel(). Try adjusting the window width to see how the objects wrap."),įlowLayout(p("Object1"), p("Object2"), p("Object3"), P("Give any number of objects to flowLayout(), and they will be wrapped across and down the page. Empty space can be inserted between columns with the offset argument in the latter column.
Empty space is automatically inserted after the last column so that the total equals twelve. P("Pass any number of column() to fluidRow(), where the width arguments (whole numbers only) add up to no more than 12.