PgBiel / typst-tablex

More powerful and customizable tables in Typst
MIT License
370 stars 12 forks source link

With columns: (auto, auto) does not respect document with columns(2, document) #6

Closed KronosTheLate closed 1 year ago

KronosTheLate commented 1 year ago

Using auto, auto makes the table wider than the linewidth for a 2-column layout. image

If I change one to a 1fr, it fills the space nicely: image

PgBiel commented 1 year ago

This is certainly odd. Will investigate when I can.

PgBiel commented 1 year ago

Fixed with 77ed90054867570b3a5d15ea371ad29bf161b5b8; please confirm later if you're still getting this, and feel free to re-open the issue if so. Thanks for reporting!

As a bonus, here's a video of my discovery of the cause of this bug... you wouldn't believe my face when I found it out, haha!

https://github.com/PgBiel/typst-tablex/assets/9021226/9292724e-5785-4f69-b588-fa77c1ddef7d