Reputation: 75
Please see the following toy example. Any help would be greatly appreciated! Thanks!
shinyApp(
ui = fluidPage(
actionButton("btnId", "I want a line break here <br/> since the label is too long")),
server = function(input, output){})
Upvotes: 6
Views: 4655
Reputation: 7694
You could use HTML
function like this:
library(shiny)
shinyApp(
ui = fluidPage(
actionButton("btnId", HTML("I want a line break here <br/> since the label is too long"))),
server = function(input, output){})
Upvotes: 18