mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
14 lines
290 B
Python
14 lines
290 B
Python
from textual.app import App
|
|
from textual.widgets import Static
|
|
|
|
class BoxApp(App):
|
|
|
|
def compose(self):
|
|
yield Static("0123456789", id="box1")
|
|
yield Static("0123456789", id="box2")
|
|
yield Static("0123456789", id="box3")
|
|
|
|
|
|
app = BoxApp(css_path="box.css")
|
|
app.run()
|