This commit is contained in:
Will McGugan
2021-08-06 11:54:20 +01:00
parent 3aacac6f23
commit 2ded0fa54b
14 changed files with 158 additions and 37 deletions

View File

@@ -0,0 +1,16 @@
from textual import events
from textual.app import App
from textual.widgets import Placeholder
class SimpleApp(App):
"""Demonstrates smooth animation"""
async def on_mount(self, event: events.Mount) -> None:
"""Build layout here."""
await self.view.dock(Placeholder(), edge="left", size=40)
await self.view.dock(Placeholder(), Placeholder(), edge="top")
SimpleApp.run(log="textual.log")