Skip to content

#160 Capability to add multi-colored text inside a cell #161

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tterimaa
Copy link

No description provided.

Copy link
Author

Choose a reason for hiding this comment

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

This class might have a builder, to conform to the coding standards used elsewhere in the project

@NonNull
protected String text;
protected List<Text> text;

protected Drawer createDefaultDrawer() {
return new TextCellDrawer(this);
}

Copy link
Author

Choose a reason for hiding this comment

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

I could not figure out how to extend this class without de-lomboking it. I think the problem was modifying the 'text' method to set this.text to List instead of String.

@tterimaa tterimaa force-pushed the multi-colored-text-cell branch from 409db05 to 81e3bfd Compare January 22, 2024 14:09
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.

1 participant