Add wip test for user over widget css, use type alias

This commit is contained in:
Darren Burns
2022-06-28 13:52:58 +01:00
parent b9b499fdc2
commit 7ebac6b860
4 changed files with 46 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
from textual.app import App, ComposeResult
from textual.widgets import Static
class JustABox(App):
def compose(self) -> ComposeResult:
yield Static("Hello, World!", id="box")
if __name__ == "__main__":
app = JustABox(css_path="just_a_box.css", watch_css=True)
app.run()