我希望在我的radioButtons中使用Shiny中的wellPanel来获得10px填充/差异/边距之类的东西,但是现在它们连接到描绘wellPanel的线,如此照片所示。知道怎么解决吗?
这是我的代码:
shinyUI(fluidPage(
theme = "bootstrap.css",
tags$head(
tags$link(rel = "stylesheet", type = "text/css", href = "bootstrap.css")
),
div(class="set1", list(tags$head(HTML('<img src="http://i.imgur.com/WUYdxrH.png"
style="border:100px width="1600" height="100"
alt="FML Toolkit" />')))),
sidebarLayout(
sidebarPanel(width = 6,
wellPanel(fluidRow(
column(5, radioButtons("dbterm", "Database Type", c("Normalized", "Denormalized")))
)),
fluidRow(
column(7, uiOutput("ui0"))
),
答案 0 :(得分:2)
尝试这一行可能会对你有所帮助:
style = "border: 10px",
是这样的:
wellPanel(fluidRow(
column(5, radioButtons("dbterm", "Database Type", c("Normalized", "Denormalized"))),
style = "border: 10px",
)),
fluidRow(
column(7, uiOutput("ui0"))
),