From bac04f8a7318f65b41f2c6c24bd184559ab2b6d2 Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Thu, 12 Feb 2026 12:37:24 +0100 Subject: [PATCH] :construction: Temporary workaround for sizing options not working Add instructions explaining that FlexLayout sizing options do not work. Relates to https://github.com/penpot/penpot-mcp/issues/39 --- mcp/packages/server/data/initial_instructions.md | 1 + 1 file changed, 1 insertion(+) diff --git a/mcp/packages/server/data/initial_instructions.md b/mcp/packages/server/data/initial_instructions.md index ad163c151c..6105be7090 100644 --- a/mcp/packages/server/data/initial_instructions.md +++ b/mcp/packages/server/data/initial_instructions.md @@ -100,6 +100,7 @@ Boards can have layout systems that automatically control the positioning and sp - Padding: `topPadding`, `rightPadding`, `bottomPadding`, `leftPadding`, or combined `verticalPadding`, `horizontalPadding` - To modify spacing: adjust `rowGap` and `columnGap` properties, not individual child positions. Optionally, adjust individual child margins via `child.layoutChild`. + - Sizing: `verticalSizing` and `horizontalSizing` are NOT functional. You need to size manually for the time being. - When a board has flex layout, - child positions are controlled by the layout system, not by individual x/y coordinates (unless `child.layoutChild.absolute` is true); appending or inserting children automatically positions them according to the layout rules.