dictionary example

This commit is contained in:
Will McGugan
2022-09-20 15:42:08 +01:00
parent f70232ca5c
commit 3a53cdb2a5
12 changed files with 189 additions and 79 deletions

View File

@@ -19,7 +19,7 @@ class DictionaryApp(App):
def compose(self) -> ComposeResult:
yield TextInput(placeholder="Search for a word")
yield Vertical(Static(id="results", fluid=False), id="results-container")
yield Vertical(Static(id="results"), id="results-container")
async def on_text_input_changed(self, message: TextInput.Changed) -> None:
"""A coroutine to handle a text changed message."""