i have following shiny app.
library(shiny) ui <- shinyapp( shinyui( navbarpage("x-men", tabpanel("plot"), tabpanel("summary" ) )), server <- shinyserver(function(input, output) {}) ) # run application shinyapp(ui = ui, server = server) which produce things this:
as stated in image. how can move summary tab panel right?
update
after hubertl suggestion :
notice distortion , it's not "summary" moved right.
you can extend width of nav-bar , set first-child position float:right :
shinyapp(ui = shinyui( navbarpage("x-men", selected="plot", tabpanel("summary" ), tabpanel("plot"), tags$head(tags$style('.navbar-nav {width: 95%;} .navbar-nav :first-child{float:right}')) )), server = shinyserver(function(input, output) {})) 


Comments
Post a Comment