From d44ad98272eae084a963a2ab667325c89be46fd4 Mon Sep 17 00:00:00 2001 From: "Randal L. Schwartz" Date: Sat, 14 Mar 2026 12:13:54 -0700 Subject: [PATCH] docs: fix typo in BoxyId example Size calculation Fixes #46 by correctly using worldSize.width instead of worldSize.height when calculating the maximum width of the layout. --- website/docs/custom-boxy/boxy-id.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/custom-boxy/boxy-id.md b/website/docs/custom-boxy/boxy-id.md index 87964c1..5d54dde 100644 --- a/website/docs/custom-boxy/boxy-id.md +++ b/website/docs/custom-boxy/boxy-id.md @@ -48,7 +48,7 @@ class MyBoxyDelegate extends BoxyDelegate { // Return the size of our little column. return Size( - max(helloSize.width, worldSize.height), + max(helloSize.width, worldSize.width), helloSize.height + worldSize.height, ); }