mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-02 02:34:57 -05:00
39 lines
744 B
R
39 lines
744 B
R
\name{horizontalLayout}
|
|
\alias{horizontalLayout}
|
|
\alias{pullLeft}
|
|
\alias{pullRight}
|
|
\title{Layout UI elements horizontally}
|
|
\usage{
|
|
horizontalLayout(...)
|
|
|
|
pullLeft(...)
|
|
|
|
pullRight(...)
|
|
}
|
|
\arguments{
|
|
\item{...}{Elements or list of elements}
|
|
}
|
|
\description{
|
|
Create a container that includes several elements laid
|
|
out side-by-side.
|
|
|
|
Pull an element to the left or right side of a
|
|
\code{\link{horizontalLayout}}.
|
|
}
|
|
\details{
|
|
To force elements to the left or right of the container
|
|
you can use the \code{\link{pullLeft}} and
|
|
\code{\link{pullRight}} functions.
|
|
}
|
|
\examples{
|
|
shinyUI(fluidPage(
|
|
horizontalLayout(
|
|
h3("Application Title"), pullRight(img(src="images/logo.png"))
|
|
)
|
|
))
|
|
}
|
|
\seealso{
|
|
\code{\link{fluidPage}}
|
|
}
|
|
|