【发布时间】:2015-08-07 08:26:26
【问题描述】:
我正在尝试创建一个跨越整个mainPanel 的tabBox。我能够获得跨越整个屏幕的宽度,但我无法获得相同的高度。我不希望使用以像素(或其他单位)为单位的绝对值,因为我希望该应用程序可以在不同的屏幕上使用。
我玩过这个例子,修改后的tabBox 的example 如下
fluidRow(
tabBox(
title = "First tabBox",
# The id lets us use input$tabset1 on the server to find the current tab
id = "tabset1", height = "450px",
tabPanel("Tab1", "First tab content"),
tabPanel("Tab2", "Tab content 2"),
width = 12
),
height = '20%',
width = 12
)
【问题讨论】:
标签: css r shiny shinydashboard