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: [],
|
_children: [],
|
||||||
_instanceName: "",
|
_instanceName: "",
|
||||||
|
layout: "flex",
|
||||||
direction: "column",
|
direction: "column",
|
||||||
hAlign: "stretch",
|
hAlign: "stretch",
|
||||||
vAlign: "top",
|
vAlign: "top",
|
||||||
|
|
|
@ -40,6 +40,7 @@ const createScreen = (tableOrView, permissions) => {
|
||||||
const gridHeader = new Component("@budibase/standard-components/container")
|
const gridHeader = new Component("@budibase/standard-components/container")
|
||||||
.instanceName("Heading container")
|
.instanceName("Heading container")
|
||||||
.customProps({
|
.customProps({
|
||||||
|
layout: "flex",
|
||||||
direction: "row",
|
direction: "row",
|
||||||
hAlign: "stretch",
|
hAlign: "stretch",
|
||||||
})
|
})
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
"barTitle": "Grid layout"
|
"barTitle": "Grid layout"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"defaultValue": "flex"
|
"defaultValue": "grid"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "select",
|
"type": "select",
|
||||||
|
|
Loading…
Reference in New Issue