Files
textual/sandbox/will/align.py
Will McGugan d962dcd49c new align
2022-09-27 16:35:40 +01:00

20 lines
324 B
Python

from textual.app import App, ComposeResult
from textual.widgets import Static
class Label(Static):
pass
class AlignApp(App):
CSS_PATH = "align.css"
def compose(self) -> ComposeResult:
yield Label("Hello")
yield Label("World!")
if __name__ == "__main__":
app = AlignApp()
app.run()