Skip to content

Conversation

PgBiel
Copy link
Owner

@PgBiel PgBiel commented Dec 31, 2023

When N rows were specified, but the table ended up having M > N rows, all the M - N extra rows end up always having auto height, when, in reality, they should have the height of the last specified row height in the rows parameter (for example, if rows: (25pt, 3pt) was given, then they should have a height of 3pt).

Fixes #97

This was an inconsistency with native tables.
New rows should not be auto, but inherit the height of the last
specified row (before sizing calculations).
@PgBiel PgBiel added bug Something isn't working table-parity labels Dec 31, 2023
@PgBiel PgBiel added this to the v0.0.8 milestone Dec 31, 2023
@PgBiel PgBiel self-assigned this Dec 31, 2023
@PgBiel PgBiel merged commit 0ac5302 into 0.1.0-dev Dec 31, 2023
@PgBiel PgBiel deleted the extra-row-sizes branch December 31, 2023 22:32
PgBiel added a commit that referenced this pull request Dec 31, 2023
Fix extra rows always having `auto` height
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working table-parity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant