Description Usage Arguments Panels Examples
The padding()
function adjusts the inner spacing of a tag element. The
padding of a tag element is the space between the tag element's border and
its content or child elements.
1 |
x |
A tag element or .style pronoun. |
all |
A responsive argument. One of |
top, right, bottom, left |
A responsive argument. One of |
Well panels.
wellPanel( radioButtons( inputId = "id", label = "Radio input", choices = c( "Choice 1", "Choice 2" ) ) )
Shrink well padding.
wellPanel( .style %>% padding(1), radioButtons( inputId = "id", label = "Radio input", choices = c( "Choice 1", "Choice 2" ) ) )
Auto width.
wellPanel( .style %>% padding(1), radioButtons( inputId = "id", label = "Radio input", choices = c( "Choice 1", "Choice 2" ) ) %>% width("auto") )
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.