Skip to content

v0.0.8

Compare
Choose a tag to compare
@PgBiel PgBiel released this 12 Jan 15:23
· 6 commits to main since this release
5c5a74a

What's Changed

  • Added fit-spans option to tablex and cellx (#111)
    • Accepts (x: bool, y: bool). When set to (x: true), colspans won't affect the sizes of auto columns. When set to (y: true), rowspans won't affect the sizes of auto rows.
    • Defaults to false, equivalent to (x: false, y: false), that is, colspans and rowspans affect the sizes of auto tracks (columns and rows) by default (expanding the last spanned track if the colspan/rowspan is too large).
    • Useful when you want merged cells (or a specific merged cell) to "fit" within their spanned columns and rows. May help when adding a colspan or rowspan causes an auto-sized track to inadvertently expand.
  • auto column sizing received multiple improvements and bug fixes. Tables should now have more natural column widths. (#109, #116)
    • Fixes some problems with overflowing cells (#48, #75)
    • Fixes auto columns being needlessly expanded in some cases (#56, #78)
      • For similar problems not fixed by this, please use the new fit-spans option as needed, or use fixed-size columns instead.
  • Several performance optimizations and other internal code improvements were made (#113, #114, #115).
    • Documents with lots of tablex tables might now become up to 20% faster to cold compile. Give it a shot!
  • Fixed extra fixed-height rows appearing to have auto height (#108).
  • Fixed rows without any visible cells being drawn with zero height (#107).
    • Fixes some rowspans causing cells to overlap (#82, #105).

New Contributors

Full Changelog: v0.0.7...v0.0.8