From ed285c40f582233dcbb3606dac49f7ee0317b22a Mon Sep 17 00:00:00 2001 From: aiongg Date: Thu, 12 Nov 2026 13:13:08 +0000 Subject: [PATCH] contract-api: dialog width roles and the wrap width --- docs/contract-api.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/contract-api.md b/docs/contract-api.md index 43a2e7d7f..740555162 100644 --- a/docs/contract-api.md +++ b/docs/contract-api.md @@ -1882,7 +1882,7 @@ The component traits, context types, `PaintUi`, `Looks`, the pipeline and its st - `craft_ui::contract::Common`: `pub struct Common { pub label: Label, pub tooltip: Option, pub description: Option, pub selected: Option }`. What every component carries: the props the pipeline reads at step 1. - `pub const fn new() -> Common`. A `Common` with every prop unset, which the derive's constructors start from. - `craft_ui::contract::Component`: re-export of `craft_ui_macros::Component` (outside these crates). -- `craft_ui::contract::ContainerProps`: `pub struct ContainerProps { pub mount: Mount, pub surface: Option, pub pad: Pad, pub sizing: Sizing, pub room_height: Option, pub layout: BodyLayout, pub header: Option, pub scroll: Option, pub footer: Option, pub end: Option, pub help: Option