fix alignment bug

This commit is contained in:
Will McGugan
2022-10-17 16:14:21 +01:00
parent e875db2ee6
commit 763f245c49
3 changed files with 31 additions and 1 deletions

19
sandbox/will/scrollbug.py Normal file
View File

@@ -0,0 +1,19 @@
from textual.app import App, ComposeResult
from textual.containers import Container
from textual.widgets import Header, Footer
class ScrollApp(App):
BINDINGS = [("q", "quit", "QUIT")]
CSS_PATH = "scrollbug.css"
def compose(self) -> ComposeResult:
yield Header()
yield Container(id="test")
yield Footer()
app = ScrollApp()
if __name__ == "__main__":
app.run()