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