我试图显示一些输入字段旁边的一些输出字段从另一个标签输入。但输出字段是去下面,不能与其余对齐。
代码如下:-
fluidRow(
column(3, sliderInput(inputId = "avg_planned_miles", label = "Average Planner Miles", min = 5, max = 50, value = 9, step = 0.1)),
column(3, textInput(inputId = "batch_pct", label = "Batch %", value = "0.5")),
column(3, h4("Volume: "), verbatimTextOutput(outputId = "planner_volume"))
)
1条答案
按热度按时间4nkexdtk1#
试试这个代码,我觉得它看起来更好
你可以保持sliderInput在你的代码中的样子,我想如果字体大小更大,它会对齐得更好。