@mikehearn and this is only coming up here because I think someone suggested flexbox. it might be better to look over the css grid layout model api and come up with something like (not valid Kotlin)
with(root) {
gridTemplateAreas = [[”header”,”header”,”header”],[”main”,”main”,”main”],[”footer”,”footer”,”footer”]]
pane(label(”My header”)) { gridArea = “header” }
pane(label(”footer”)) { gridArea = “footer” }