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

Displaying text in a circular background inside a textcell #169

Open
cmohankumar opened this issue May 2, 2024 · 5 comments
Open

Displaying text in a circular background inside a textcell #169

cmohankumar opened this issue May 2, 2024 · 5 comments

Comments

@cmohankumar
Copy link

Hello there,
I would like to display Text inside a textcell with circular background
example: https://stackoverflow.com/questions/67134006/compose-create-text-with-circle-background
can you pls let me know, how we can do this using easytable.

Thanks in advance

@vandeseer
Copy link
Owner

Hey @cmohankumar,

In theory that should be possible by creating a custom cell type and or custom cell drawer.

Best,
Stefan

@cmohankumar
Copy link
Author

Hi @vandeseer ,
Thankyou for the suggestion. Is there any sample code that i could follow to achieve this.

TIA.
Mohan.

@vandeseer
Copy link
Owner

Maybe this gist might be of help:
https://gist.github.com/vandeseer/5023d55b67c455596b2703e4a65df2d9

@cmohankumar
Copy link
Author

Thankyou @vandeseer you are the best.

@cmohankumar
Copy link
Author

Sorry to bother again @vandeseer , i am able to draw the circle now.
However, I am not able add a text into the custom cell.
Any assistance/snippet around this?

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