summaryrefslogtreecommitdiff
path: root/src/layout/grid.rs
AgeCommit message (Collapse)Author
2021-10-31Reorganize modulesLaurenz
Instead of separating functionality into layout and library, everything lives in the library now. This way, related things live side by side and there are no duplicate file names in the two directories.
2021-10-26Simplify node constructionLaurenz
2021-10-26Fr in stack and parLaurenz
2021-10-23Introduce page / block / inline levelsLaurenz
2021-10-23Remove directions from gridLaurenz
2021-10-23Revise block node contractLaurenz
Frames produced by block nodes are now always treated as exactly one per given region and a frame must not be larger than its respective region. Any overflow must be handled internally. This means that stack and grid don't need to search for fitting regions anymore, since the child has already does that for them. This commit further moves stack spacing into a new `SpacingNode`.
2021-10-02Fix panic in grid due to empty auto rowLaurenz
2021-09-27Expand all but last region for broken up auto rowsLaurenz
2021-09-25Prevent paragraph from overflowing due to trailing linebreakLaurenz
2021-09-10Reimplement `Debug` for layout nodesLaurenz
2021-09-10Set the correct base for grid cellsLaurenz
2021-09-10Fix fr rows in infinite regionLaurenz
2021-08-21Shorter/clearer field name for geometry typesLaurenz
Size { width, height } => Size { w, h } Spec { horizontal, vertical } => Spec { x, y } Gen { cross, main } => Gen { inline, block }
2021-08-21Prune derivesLaurenz
2021-08-21Make better use of existing variables in gridLaurenz
2021-08-21Turn backlog into iteratorLaurenz
2021-08-19Refactor layouting a bitLaurenz
Notably: - Handle aspect ratio in fixed node - Inline constraint inflation into pad node
2021-08-14Separate type for string valuesLaurenz
2021-07-10Reference-count complex valuesLaurenz
Rename some nodes types
2021-07-08Add lots of Eq implsLaurenz
2021-06-29Put incremental compilation behind featureMartin Haug
2021-06-27Code review, new stack testMartin Haug
2021-06-27Testing for incrementalMartin Haug
Also, constraint bugfixes.
2021-06-18Ref count the framesMartin
2021-06-17Setter methodLaurenz
2021-06-17Constraints (#31)Martin
2021-06-15Refactor grid row layoutLaurenz
2021-06-13Refactor column resolvingLaurenz
2021-06-12Allow grid cells to span multiple regions. (#30)Martin
2021-06-09Tidy upLaurenz
2021-06-09Add a grid layouterMartin Haug