Skip to content

Fix theme_gray's legend/panels for large base_size #2145

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

Closed
wants to merge 1 commit into from
Closed

Fix theme_gray's legend/panels for large base_size #2145

wants to merge 1 commit into from

Conversation

raubreywhite
Copy link

Currently theme_gray's legend and background panels don't work well at base_size=24 or base_size=30 because their sizes are hardcoded in. If we make them relative, then theme_gray looks nice at larger base_size's.

Currently theme_gray's legend and background panels don't work well at base_size=24 or base_size=30 because their sizes are hardcoded in. If we make them relative, then theme_gray looks nice at larger base_size's.
@raubreywhite
Copy link
Author

Hi, any input on this? The conflicts appear to be due to the tests not allowing changes to the default themes, which is the point of this PR...

@hadley hadley requested a review from karawoo July 3, 2017 16:52
@hadley
Copy link
Member

hadley commented Jul 3, 2017

@karawoo I've already forgotten what other changes we made. Can you please comment as to whether this is still necessary?

@karawoo
Copy link
Member

karawoo commented Jul 3, 2017

This is still necessary but I think it should wait until I add the base_line_size parameter (#2176; I can get a PR in for that today). Then we can use rel() to set these relative to the base line size, which I think makes more sense than setting it relative to the text size.

@hadley
Copy link
Member

hadley commented Jul 3, 2017

👍

@hadley hadley closed this Jul 3, 2017
@lock
Copy link

lock bot commented Jan 18, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants