如何將文本放在文本輸入旁邊?如何在文本輸入旁邊編寫文本?
這是我創建的上述圖片:
library(shiny)
ui <- fluidPage(
sidebarLayout(
sidebarPanel(
fluidRow(
column(
width = 3,
div(style = "white-space: nowrap;",
textInput(inputId = "txt_ipt", label = "Some label text",
value = "", width = 150))),
column(
width = 3,
"Move me down"))),
mainPanel()))
server <- function(input, output, session) {}
shinyApp(ui, server)
我的目標是寫一些文字(其實只有一個字)旁邊的文字輸入。