mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update docs/examples/styles/background.py
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
This commit is contained in:
@@ -21,9 +21,9 @@ class BackgroundApp(App):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def compose(self):
|
def compose(self):
|
||||||
yield Static("Hello, World!", id="static1")
|
yield Static("Widget 1", id="static1")
|
||||||
yield Static("Hello, World!", id="static2")
|
yield Static("Widget 2", id="static2")
|
||||||
yield Static("Hello, World!", id="static3")
|
yield Static("Widget 3", id="static3")
|
||||||
|
|
||||||
|
|
||||||
app = BackgroundApp()
|
app = BackgroundApp()
|
||||||
|
|||||||
Reference in New Issue
Block a user