new align

This commit is contained in:
Will McGugan
2022-09-27 16:35:40 +01:00
parent fc4ec8ee50
commit d962dcd49c
80 changed files with 336 additions and 687 deletions

View File

@@ -1,5 +1,5 @@
from textual.app import App
from textual import layout
from textual.containers import Vertical
from textual.widgets import Static
TEXT = """I must not fear.
@@ -14,7 +14,7 @@ Where the fear has gone there will be nothing. Only I will remain.
class ScrollbarApp(App):
def compose(self):
yield layout.Vertical(Static(TEXT * 5), classes="panel")
yield Vertical(Static(TEXT * 5), classes="panel")
app = ScrollbarApp(css_path="scrollbar_size.css")