mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
12 lines
285 B
Python
12 lines
285 B
Python
from textual.app import App
|
|
from textual.widgets import Static
|
|
|
|
|
|
class AlignApp(App):
|
|
def compose(self):
|
|
yield Static("Vertical alignment with [b]Textual[/]", classes="box")
|
|
yield Static("Take note, browsers.", classes="box")
|
|
|
|
|
|
app = AlignApp(css_path="align.css")
|