dart_pdf icon indicating copy to clipboard operation
dart_pdf copied to clipboard

Fix Mid-word line break inside table

Open MathanM opened this issue 6 months ago • 1 comments

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 avatar Aug 11 '24 12:08 MathanM