Problem
When creating pages via MDL, no margin/padding defaults are applied, so generated layouts need manual spacing adjustment in Studio Pro.
Current behavior
The Container struct (sdk/pages/pages_widgets_container.go) has no margin/padding fields, and the page builder (mdl/executor/cmd_pages_builder_v3.go) applies none when wrapping content. Serialization (sdk/mpr/writer_pages.go) emits canvas dimensions but no spacing.
Request
Set page margins/padding to appropriate defaults automatically (and/or allow them to be set in MDL).
Touch points for a fix
sdk/pages/pages_widgets_container.go — add Margin/Padding fields
mdl/executor/cmd_pages_builder_v3.go — apply defaults
sdk/mpr/writer_widgets.go — serialize them
mdl/grammar/domains/MDLPage.g4 — accept Margin/Padding properties (if user-settable)
Source: customer feedback batch (2026-06). Reporter: Nagano. Reporter severity: 2/5.
Filed after codebase investigation at 297e0b0a.
Problem
When creating pages via MDL, no margin/padding defaults are applied, so generated layouts need manual spacing adjustment in Studio Pro.
Current behavior
The
Containerstruct (sdk/pages/pages_widgets_container.go) has no margin/padding fields, and the page builder (mdl/executor/cmd_pages_builder_v3.go) applies none when wrapping content. Serialization (sdk/mpr/writer_pages.go) emits canvas dimensions but no spacing.Request
Set page margins/padding to appropriate defaults automatically (and/or allow them to be set in MDL).
Touch points for a fix
sdk/pages/pages_widgets_container.go— addMargin/Paddingfieldsmdl/executor/cmd_pages_builder_v3.go— apply defaultssdk/mpr/writer_widgets.go— serialize themmdl/grammar/domains/MDLPage.g4— accept Margin/Padding properties (if user-settable)Source: customer feedback batch (2026-06). Reporter: Nagano. Reporter severity: 2/5.
Filed after codebase investigation at
297e0b0a.