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

Fix Mid-word line break inside table #1716

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

Conversation

MathanM
Copy link

@MathanM MathanM commented Aug 11, 2024

Issue

In datatable when there is no enough space the words should not be broken, instead the column should take minWidth and rest of the columns should distribute the offset width.

Details

Refactor pdfRect to accommodate minWidth to handle minimum width that widget can scale to.
Refactored columnWidth calculation to handle minWidth and weighted width distribution.

@MathanM
Copy link
Author

MathanM commented Aug 11, 2024

#1618

@MathanM MathanM force-pushed the prevent-word-break branch from f78d73b to 3033a30 Compare August 11, 2024 12:33
@MathanM MathanM force-pushed the prevent-word-break branch from 3033a30 to 27e9a16 Compare August 11, 2024 14:44
@MathanM MathanM changed the title [DRAFT] Fix Mid-word line break inside table Fix Mid-word line break inside table Aug 11, 2024
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