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

Is there a way to prevent wrapping? #96

Closed
ebussa opened this issue Jan 12, 2022 · 2 comments
Closed

Is there a way to prevent wrapping? #96

ebussa opened this issue Jan 12, 2022 · 2 comments

Comments

@ebussa
Copy link

ebussa commented Jan 12, 2022

I am using the new Table layout and have a column with sometimes longish text. Is there a way for the layout to truncate the text instead of wrap?

@MarcinZiabek
Copy link
Member

Hello 😀 That's a really good question! I am already preparing two components that should help you in such scenarios. Please take a look at this discussion. One of the proposed components works exactly as you described. And I see that the name Truncate could be better than PreventPaging.

Both features should be available soon (within a week) in a prerelease.

@MarcinZiabek
Copy link
Member

MarcinZiabek commented Jan 31, 2022

This feature was introduced in the QuestPDF 2022.02 release 😁 Closing

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