mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
16 lines
386 B
Python
16 lines
386 B
Python
from textual.app import App
|
|
from textual.widgets import Placeholder
|
|
|
|
|
|
class SimpleApp(App):
|
|
"""Demonstrates smooth animation"""
|
|
|
|
async def on_mount(self) -> None:
|
|
"""Build layout here."""
|
|
|
|
await self.screen.dock(Placeholder(), edge="left", size=40)
|
|
await self.screen.dock(Placeholder(), Placeholder(), edge="top")
|
|
|
|
|
|
SimpleApp.run(log_path="textual.log")
|