这是indexloc提供的服务,不要输入任何密码
Skip to content

Heuristic: Don't expand an auto column when a cell spans all frac columns #116

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

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

PgBiel
Copy link
Owner

@PgBiel PgBiel commented Jan 8, 2024

Cells spanning all frac columns shouldn't cause auto columns to expand, since they'll already have access to all available space remaining.

Fixes (to my best ability) #56 and #78 .

  • Implementation
  • Update tests

Cells spanning all frac columns shouldn't cause auto columns to expand,
since they'll already have access to all available space remaining.
@PgBiel PgBiel added enhancement New feature or request auto track sizing Related to calculation of the size of an auto column/row. labels Jan 8, 2024
@PgBiel PgBiel self-assigned this Jan 8, 2024
@PgBiel PgBiel marked this pull request as ready for review January 8, 2024 17:11
@PgBiel PgBiel added this to the v0.0.8 milestone Jan 8, 2024
@PgBiel PgBiel merged commit 57840a9 into 0.1.0-dev Jan 8, 2024
@PgBiel PgBiel deleted the smart-fit-span branch January 8, 2024 17:11
@PgBiel PgBiel mentioned this pull request Jan 10, 2024
6 tasks
PgBiel added a commit that referenced this pull request Jan 11, 2024
"Heuristic: Don't expand an auto column when a cell spans all frac
columns"
PgBiel added a commit to PgBiel/typst that referenced this pull request Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto track sizing Related to calculation of the size of an auto column/row. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Column sizes with mixed fractional and auto sizes don't fit the page Colspan over 1fr prompting auto columns to needlessly expand
1 participant