mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update docs/examples/styles/offset.py
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
This commit is contained in:
@@ -38,9 +38,9 @@ class OffsetApp(App):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def compose(self):
|
def compose(self):
|
||||||
yield Static("Paul", classes="paul")
|
yield Static("Paul (offset 8 2)", classes="paul")
|
||||||
yield Static("Duncan", classes="duncan")
|
yield Static("Duncan (offset 4 10)", classes="duncan")
|
||||||
yield Static("Chani", classes="chani")
|
yield Static("Chani (offset 0 5)", classes="chani")
|
||||||
|
|
||||||
|
|
||||||
app = OffsetApp()
|
app = OffsetApp()
|
||||||
|
|||||||
Reference in New Issue
Block a user