Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting the background color in createWidget #323

Open
sguyader opened this issue Dec 23, 2018 · 2 comments
Open

Allow setting the background color in createWidget #323

sguyader opened this issue Dec 23, 2018 · 2 comments

Comments

@sguyader
Copy link

sguyader commented Dec 23, 2018

I'm trying to add a DiagrammeR graph to a xaringan presentation, using widgetframe::frameWidget(), but the background color is set to 'white'. A background option was added to saveWidget, is it possible to add the same option to createWidget?

@sguyader sguyader changed the title background Allow setting the background color in createWidget Dec 23, 2018
@cfhammill
Copy link

Just logged in to ask the same question. @ramnathv if you're open to it I'm happy to PR, should be a very small change.

@sguyader
Copy link
Author

sguyader commented Dec 4, 2019

I found a workaround issuing widgetframe::frameableWidget() instead of widgetframe::frameWidget(), this way there's no background added to the diagram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants