diff --git a/svelte-app/src/lib/export.ts b/svelte-app/src/lib/export.ts index f6e4b68..b1c8bf3 100644 --- a/svelte-app/src/lib/export.ts +++ b/svelte-app/src/lib/export.ts @@ -557,9 +557,13 @@ export async function deployToIgnition() { defaultSize: { height: layout.canvasH, width: layout.canvasW }, }, root: { - children: [component], + children: [{ + meta: { name: viewName }, + position: { width: 1, height: 1 }, + ...component, + }], meta: { name: 'root' }, - props: { direction: 'column' }, + props: { mode: 'percent' }, type: 'ia.container.coord', }, }, null, 2);