This commit is contained in:
Will McGugan
2021-11-19 17:01:42 +00:00
parent b47b0ac734
commit b5f3f367ac
9 changed files with 55 additions and 28 deletions

View File

@@ -17,7 +17,7 @@ class BasicApp(App):
}
#widget1 {
text: on blue;
text-background: blue;
dock-group: widgets;
}
@@ -30,10 +30,11 @@ class BasicApp(App):
async def on_mount(self) -> None:
"""Build layout here."""
self.log("MOUNT")
await self.view.mount(
sidebar=Placeholder(), widget1=Placeholder(), widget2=Placeholder()
)
self.log("MOUNTED CHILDREN", self.view.children)
BasicApp.run(log="textual.log")