Shiny R Button Alignment
I have two buttons in my Ui file
submitButton("Analysis"),width=6,downloadButton('downloadData', 'Download Data'))
Which gives the following output as the app
However I am trying to align these buttons so that the download data is right aligned and the analysis button is on the left, instead of how it looks now. How do i go about this?
You can do the following. Please look into shiny 4 small textInput boxes side-by-side also
library(shiny)
ui =fluidPage(
div(style="display:inline-block",submitButton("Analysis"),width=6),
div(style="display:inline-block",downloadButton('downloadData', 'Download Data'))
)
server = function(input, output, session){}
runApp(list(ui = ui, server = server))
链接地址: http://www.djcxy.com/p/84022.html
上一篇: 关闭客户端时SignalR Websocket异常
下一篇: 闪亮的R按钮对齐