2016-09-22 521 views
0

我想在选项名称左侧添加空格的闪亮selectInput()中缩进某些选项。然而,在闪亮的selectInput()中的缩进选项()

selectInput("city_name", "City", choices = "   Berlin") 

所有空格都被忽略,  S IN

selectInput("city_name", "City", choices = "   Berlin") 

得到消毒了。

+0

你可以尝试使用预先格式化的文本或间隔符。以下是一些选项:http://www.blooberry.com/indexdot/html/topics/indent.htm – mRcSchwering

回答

0

这不是暗淡的心脏,但有一堆unicode字符是不同宽度的空间(请参阅here),使用时代替常规空间时可以很好地工作。

相关问题