How to align a group of checkboxGroupInput in R Shiny

后端 未结 3 1188
伪装坚强ぢ
伪装坚强ぢ 2020-12-08 22:52

I created a set of checkboxGroupInput using the code below but it is not displayed properly. It look like this:

3条回答
  •  無奈伤痛
    2020-12-08 23:34

    Another simple solution is just use shinyWidgets package (which have much more selections of styles) and prettyCheckbox which will have all checkboxes aligned on left edge, though the individual checkboxes are not aligned -- you may have to use css and the solution above if you really need that. On the other hand, with css you have to specify the column count and they will not wrap dynamically by window size.

提交回复
热议问题