mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
13 lines
330 B
Python
13 lines
330 B
Python
from textual.app import App
|
|
from textual.widgets import Label
|
|
|
|
|
|
class BorderApp(App):
|
|
def compose(self):
|
|
yield Label("My border is solid red", id="label1")
|
|
yield Label("My border is dashed green", id="label2")
|
|
yield Label("My border is tall blue", id="label3")
|
|
|
|
|
|
app = BorderApp(css_path="border.css")
|