Reputation: 157
i'd like to move my blue box to the right part of the sentence, i'm using pickerinput in Shiny app, This is my code: o you know how can i move to the right part?, or what iput i should use to do this?
Thanks !!
pickerInput(inputId = "answer11_",
label = "Additional Side A defense limit: Minimum $500,000, $1,000,000 for larger risks",
choices = c("Yes", "Minor Deficiency", "Mayor Deficiency", "No"),
options = list(
style = "btn-primary"))
Upvotes: 0
Views: 125
Reputation: 6954
Yes, you can just set inline = TRUE
# Basic usage
library("shiny")
library(shinyWidgets)
ui <- fluidPage(
pickerInput(
inputId = "somevalue",
label = "A label",
choices = c("a", "b"),
inline = TRUE
),
verbatimTextOutput("value")
)
server <- function(input, output) {
output$value <- renderPrint(input$somevalue)
}
shinyApp(ui, server)
Upvotes: 1