Simplest way to resize selectInput, textInput, checkBox input boxes etc... ?

736 views
Skip to first unread message

claymore...@gmail.com

unread,
May 30, 2014, 4:34:45 PM5/30/14
to shiny-...@googlegroups.com
I have an app that has a large number of select... objects in it.  Real estate on the screen is an issue.

What is the most straightforward way to shrink the Input objects (the sizes of the boxes, the font size in the boxes (the labels, and input areas, etc) , while keeping any plots on the screen at the same size?

Ideally, I'd like the inputs to be the size they appear at 67-75% zoom (ctrl + "-" out a few times) in the (Chrome) browser.


This thread seemed to be on the same path, but the suggestions aren't working for me:

Herman Sontrop

unread,
May 30, 2014, 5:36:46 PM5/30/14
to shiny-...@googlegroups.com



Hi,

although it doesn't solve your problem completely, the development version of Shiny allows you to set the size explicitly via the width argument:
to install it, run:

if (!require("devtools"))
  install.packages("devtools")
devtools::install_github("shiny", "rstudio")


best Herman

ps: my Shiny version:
shiny_0.9.1.9008


claymore...@gmail.com

unread,
May 31, 2014, 8:17:54 PM5/31/14
to shiny-...@googlegroups.com
Awesome, I did not know this was coming.

Thanks again Herman.
Reply all
Reply to author
Forward
0 new messages