From d30327bfef06be0ceb0f8fe1978d93ce9e376ecc Mon Sep 17 00:00:00 2001 From: skylartaylor Date: Wed, 25 Nov 2026 18:07:02 +0100 Subject: [PATCH] docs: the fit module line back to next's, now that the fit helper is gone --- docs/contract-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contract-api.md b/docs/contract-api.md index f281dc8dd8..35ef5bbb1c 100644 --- a/docs/contract-api.md +++ b/docs/contract-api.md @@ -705,7 +705,7 @@ When a component's remembered state is due for eviction. ## `craft_behavior::fit` -The fit rules: which tabs, bar items or titles stay in a strip and which go to an overflow menu. [`fit`], +The fit rules: which tabs, bar items or titles stay in a strip and which go to an overflow menu. [`fit`] and - `craft_behavior::fit::Fit`: `pub struct Fit { pub shown: Vec, pub overflow: Vec, pub short: Vec }`. Which items the strip shows and which go to the overflow menu, as indexes into the input, in input order. - `craft_behavior::fit::FitItem`: `pub struct FitItem { pub extent: f32, pub section: u16, pub keep: FitKeep, pub short: Option }`. One item as the fit rule sees it: its extent along the strip, its section and whether it may overflow.