verbatimTextOutput custom width

1,667 views
Skip to first unread message

Timothy Tuti

unread,
Jun 10, 2013, 3:13:13 AM6/10/13
to shiny-...@googlegroups.com
Is there a way to make the verbatimTextOutput have a custom width? It doesn't fill the div width when I output summary for my dataset making it have an endless vertical scroll.

Joe Cheng

unread,
Jun 10, 2013, 2:16:42 PM6/10/13
to shiny-...@googlegroups.com
That's very strange. It is possible to give a custom width by using CSS but verbatimTextOutput should fill the container's width. Would you be able to share a screenshot of what you're seeing?


On Mon, Jun 10, 2013 at 12:13 AM, Timothy Tuti <timoth...@hazelband.com> wrote:
Is there a way to make the verbatimTextOutput have a custom width? It doesn't fill the div width when I output summary for my dataset making it have an endless vertical scroll.

--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Timothy Tuti

unread,
Jun 12, 2013, 3:21:06 AM6/12/13
to shiny-...@googlegroups.com
Look at how the summary is appearing. Can I have those columns going up to the end of the div before the next row starts?

Tuti
Inline image 1


--
You received this message because you are subscribed to a topic in the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shiny-discuss/KrYKchAmV8w/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to shiny-discus...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--



Timothy Tuti,
Senior Principal Partner,
Hazelband Consulting Group
Tel : (+254)(0)736262966

www.hazelband.com
shiny.JPG

Joe Cheng

unread,
Jun 12, 2013, 1:26:49 PM6/12/13
to shiny-...@googlegroups.com
Try options(width=xxx) where xxx is the number of characters. Call this in server.R, in your renderText/renderPrint (or whatever is generating the summary).

There is currently no feature in Shiny to automatically set the width for you, sorry. That would be pretty interesting though.
shiny.JPG
Reply all
Reply to author
Forward
0 new messages