Skip to content

Add tab_style_body() variant to style by targeted body cells #1108

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

Merged
merged 25 commits into from
Nov 9, 2022

Conversation

rich-iannone
Copy link
Member

@rich-iannone rich-iannone commented Nov 8, 2022

For easier ways to set basic style attributes based on values (in body cells and surrounding areas), the tab_style_body() function (based on tab_style()) is added in this PR. The sub_values() function provides a nice (and forgiving) way to target values so the new function added here is modeled on that.

Fixes: #863

@rich-iannone rich-iannone marked this pull request as ready for review November 9, 2022 04:42
@rich-iannone rich-iannone changed the title Add tab_style_*() variants to style by targeted body cells Add tab_style_body() variant to style by targeted body cells Nov 9, 2022
@rich-iannone rich-iannone requested a review from cscheid November 9, 2022 17:47
Copy link
Member

@cscheid cscheid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@rich-iannone rich-iannone merged commit 117bc1f into master Nov 9, 2022
@rich-iannone rich-iannone deleted the tab-styling-enhance branch November 9, 2022 17:56
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

Successfully merging this pull request may close these issues.

How to set background colors for the cells of multiple columns based on string contents
2 participants