How can I center the labels that are visible in the tabsetPanel? Currently I define the tabs using renderUI:
output$uiTabs <- renderUI({
tabsetPanel(tabPanel("visualization1",tableOutput("table1")),
tabPanel("visualization2",tableOutput("table2"))) })
Then in UI I have something like this:
column(8,align="center",
uiOutput("uiTabs"))
Now the tables are center aligned, but not the tabs themselves.
tabsetPanel( tabPanel(tags$div( HTML(paste(tags$span(style="color:white", "TYPE A LONG STRING HERE TO SPACE ACCORDINGLY"), sep = "")) )), tabPanel("visualization1",tableOutput("table1")), tabPanel("visualization2",tableOutput("table2")), selected = "visualization1" )
Has the appearance of an empty tab, and the only issue is that that the you're able to select the "empty" tab with white-space being its label. – InfiniteFlash Mar 25 '16 at 5:35