Update containers to use grid layout by default and ensure autoscreens use new layout prop

This commit is contained in:
Andrew Kingston 2024-08-15 11:36:02 +01:00
parent 39f7c28308
commit 0252b02406
No known key found for this signature in database
3 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@ export class Screen extends BaseStructure {
},
_children: [],
_instanceName: "",
layout: "flex",
direction: "column",
hAlign: "stretch",
vAlign: "top",

View File

@ -40,6 +40,7 @@ const createScreen = (tableOrView, permissions) => {
const gridHeader = new Component("@budibase/standard-components/container")
.instanceName("Heading container")
.customProps({
layout: "flex",
direction: "row",
hAlign: "stretch",
})

View File

@ -194,7 +194,7 @@
"barTitle": "Grid layout"
}
],
"defaultValue": "flex"
"defaultValue": "grid"
},
{
"type": "select",