0
私は光沢のあるアプリケーションを持っています。ここでは、ユーザーが選択するグラフの上にチェックボックスを表示しようとしています。現在、チェックボックスはタイトルの下に表示されていますが、左側にタイトルが、右側にチェックボックスが同じ行に表示されます。私はそれがCSSを記録することによって達成できると確信していますが、方法はわかりません。checkboxInputと光沢のあるボックスタイトルを合わせる
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(
title = "MODULE",titleWidth = 225
),
dashboardSidebar(
width = 225,
sidebarMenu(id = "tabs",
menuItem("TOPLINES", tabName = "tplines", icon = shiny::icon("dashboard"))
)),
dashboardBody(
tabItems(
tabItem(
tabName = "tplines",
fluidRow(
box(
checkboxInput(inputId = "inventorytop8metrocheck", "Add to reports", value = FALSE),
width = 6, status = "info", title = "Inventory information",
div(plotlyOutput("inventorytop8metro"), width = "100%", height = "400px", style = "font-size:80%;")
)
)))))
server <- function(session,input,output){
}
shinyApp(ui,server)
タイトルを複数の列に分割することはできませんでした...新しいスタイルの引数の提案が助けになりました。 – Apricot