Repository navigation
pdfx-cli@0.6.0
Minor Changes
-
#112
ee7dee3Thanks @akii09! - FixDataTable/Tablefixed-width columns andPdfListoverlapping rows on wrapped text.DataTable / Table — fixed-width columns collapsing to zero (#110)
Setting a
widthprop on aTableCellorDataTablecolumn had no effect — the column always rendered at zero width. Root cause:flex: 0in thecellFixedstyle is shorthand forflexGrow:0 + flexShrink:0 + flexBasis:0. TheflexBasis:0overrode the explicitwidthin Yoga layout. Fixed by replacingflex: 0with the individualflexGrow: 0/flexShrink: 0properties sowidthis respected.All accepted formats now work: numbers (pt), percentage strings (
"25%"), and pixel strings ("50px").PdfList — overlapping rows when item text wraps to multiple lines (#103)
PdfListwith any variant could render overlapping rows when item text wrapped to 2+ lines. Root cause:flex: 1onTextnodes setsflexBasis:0, causing Yoga to under-estimate multi-line text height — the next row was laid out too high. Fixed by movingflex: 1offTextand onto a wrappingView(itemTextWrap) across all variants:bullet,numbered,checklist,icon, andmulti-level.Existing installs: re-run
pdfx add table,pdfx add data-table, andpdfx add listto pick up these fixes.