【问题标题】:R shiny break line in button label按钮标签中的 R 闪亮断线
【发布时间】:2017-10-23 04:36:20
【问题描述】:

请看下面的玩具例子。 任何帮助将不胜感激!谢谢!

shinyApp(
ui = fluidPage(
    actionButton("btnId", "I want a line break here <br/> since the label is too long")),
server = function(input, output){})

【问题讨论】:

    标签: r button shiny label line-breaks


    【解决方案1】:

    您可以像这样使用HTML 函数:

    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){})
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-04-29
      • 2015-04-26
      • 1970-01-01
      • 2013-03-22
      • 2018-05-14
      • 2016-03-12
      • 2015-05-11
      相关资源
      最近更新 更多