Fix scrollbar (#2024)

* Fix scrollbar

* changelog PR

* fix snapshots
This commit is contained in:
Will McGugan
2023-03-13 10:39:14 +00:00
committed by GitHub
parent fcda3c3350
commit 9c5e0336f8
7 changed files with 511 additions and 92 deletions

View File

@@ -1,5 +1,5 @@
from textual.app import App
from textual.containers import Vertical
from textual.containers import Container
from textual.widgets import Label
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 Vertical(Label(TEXT * 5), classes="panel")
yield Container(Label(TEXT * 5), classes="panel")
app = ScrollbarApp(css_path="scrollbar_size.css")