作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有wellPanel:
wellPanel(
h5("Accuracy table:"),
tableOutput(accuracy_tablename))
)
我想水平显示 wellPanel 中的对象。我该如何管理?
提前谢谢您!
最佳答案
您可以使用类“row”(或“row-fluid”)定义一个div,并插入将水平显示的子div(“spanX”类指定每个div之间的空间)。
shiny::runApp(list(
ui = basicPage(
wellPanel(
tags$div(class = "row",
tags$div(class = "span4",
h5("Accuracy table:")
),
tags$div(class = "span4",
tableOutput("table")
)
)
)
),
server = function(input, output, session) {
output$table <- renderTable({
iris[1,]
})
}
))
关于R 水平 Shiny 显示 wellPanel 对象,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22507309/
关闭。这个问题需要details or clarity .它目前不接受答案。 想改进这个问题吗? 通过 editing this post 添加细节并澄清问题. 关闭 5 年前。 Improve
在我的 UI 上,我试图让我的过滤器显示在 wellpanel 中。当应用程序运行时,它看起来像下拉菜单和关联的复选框位于其“顶部”,而不是被包裹在其中。 这是我的意思的图片:http://imgur
我有wellPanel: wellPanel( h5("Accuracy table:"), tableOutput(accuracy_t
我想为我的单选按钮在 Shiny 的 wellPanel 中添加 10 像素的填充/差异/边距,但现在它们连接到描绘 wellPanel 的线,如这张照片所示。知道如何解决吗? 这是我的代码: shi
问题: R Shiny – 使用 CSS 滚动时让 wellPanel 弹出窗口跟随 嗨堆栈用户, 我创建了一个具有数据表的 Shiny 应用程序,其中当用户单击一行时,会在其旁边弹出一个隐藏的 we
我是一名优秀的程序员,十分优秀!