Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix extra rows always having auto height #108

Merged
merged 2 commits into from
Dec 31, 2023
Merged

Fix extra rows always having auto height #108

merged 2 commits into from
Dec 31, 2023

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
3 checks passed
@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