gpt4 book ai didi

css - 如何修改 Shiny 中 wellpanel 内单选按钮的边框/边距

转载 作者:行者123 更新时间:2023-11-28 11:35:21 25 4
gpt4 key购买 nike

我想为我的单选按钮在 Shiny 的 wellPanel 中添加 10 像素的填充/差异/边距,但现在它们连接到描绘 wellPanel 的线,如这张照片所示。知道如何解决吗?

enter image description here

这是我的代码:

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"))
),

最佳答案

试试这行也许会对你有帮助:

 style = "border: 10px",

变成这样:

wellPanel(fluidRow(
column(5, radioButtons("dbterm", "Database Type", c("Normalized", "Denormalized"))),

style = "border: 10px",
)),
fluidRow(
column(7, uiOutput("ui0"))
),

关于css - 如何修改 Shiny 中 wellpanel 内单选按钮的边框/边距,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28800577/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com