Cleanup easing example

This commit is contained in:
Darren Burns
2022-09-07 12:12:17 +01:00
parent a89835d554
commit b6e133c1af
3 changed files with 133 additions and 7 deletions

View File

@@ -5,10 +5,14 @@ from textual.widgets import Static
class JustABox(App):
css_path = "../darren/just_a_box.css"
def compose(self) -> ComposeResult:
yield Static("Hello, world!", classes="box1")
app = JustABox(watch_css=True)
if __name__ == "__main__":
app = JustABox(css_path="../darren/just_a_box.css", watch_css=True)
app.run()