Update containers to use grid layout by default and ensure autoscreens use new layout prop
This commit is contained in:
parent
39f7c28308
commit
0252b02406
|
@ -18,6 +18,7 @@ export class Screen extends BaseStructure {
|
|||
},
|
||||
_children: [],
|
||||
_instanceName: "",
|
||||
layout: "flex",
|
||||
direction: "column",
|
||||
hAlign: "stretch",
|
||||
vAlign: "top",
|
||||
|
|
|
@ -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",
|
||||
})
|
||||
|
|
|
@ -194,7 +194,7 @@
|
|||
"barTitle": "Grid layout"
|
||||
}
|
||||
],
|
||||
"defaultValue": "flex"
|
||||
"defaultValue": "grid"
|
||||
},
|
||||
{
|
||||
"type": "select",
|
||||
|
|
Loading…
Reference in New Issue